pandyamarut / containers

🐳 | Dockerfiles for the RunPod container images used for our official templates.

Home Page:https://hub.docker.com/u/runpod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RunPod Containers

This repository contains the Dockerfiles for the RunPod containers used for our official templates. Resulting containers are available on Docker Hub.

Container RunPod Template Description
fast-stable-diffusion RunPod Fast Stable Diffusion
kasm-desktop RunPod Desktop
vscode-server RunPod VS Code Server
discoart RunPod Disco Diffusion

Changes

The containers serverless-automatic and sd-auto-abdbarho have been removed from this repository. The worker replacement can be found in the runpod-workers/worker-a1111 repository.

Container Requirements

Dependencies

The following dependencies are required as part of RunPod platform functionality.

  • nginx - Required for proxying ports to the user.
  • openssh-server - Required for SSH access to the container.
  • 'pip install jupyterlab' - Required for JupyterLab access to the container.

runpod.yaml

Each container foulder needs to have a runpod.yaml file. This file will contain version info as well as services to be ran. The runpod.yaml file should be formatted as follows:

version: '1.0.0'
services:
  - name: 'service1'
    port: 9000
    proxy_port: 9001
  - name: 'service2'
    port: 9002
    proxy_port: 9003

README

Every container folder needs to have its own README.md file, this file will be displayed both on the Docker Hub as well as the README section of the template on the RunPod website. Additionally, if the container is opening a port other than 8888 that is passed through the proxy and the service is not running yet, the README will be displayed to the user.

Building Containers

buildx bake

docker buildx bake

docker buildx bake --push

docker build should be ran from the root of the repository, not from the container folder. The build command should be ran as follows:

docker build -t runpod/<container-name>:<version> -f <container-name>/Dockerfile .

About

🐳 | Dockerfiles for the RunPod container images used for our official templates.

https://hub.docker.com/u/runpod

License:MIT License


Languages

Language:Jupyter Notebook 98.9%Language:Shell 0.6%Language:Python 0.3%Language:Dockerfile 0.2%Language:HCL 0.0%Language:HTML 0.0%