{"id":35856943,"url":"https://github.com/ashleykleynhans/comfyui-docker","last_synced_at":"2026-05-21T09:04:58.335Z","repository":{"id":266773893,"uuid":"822443433","full_name":"ashleykleynhans/comfyui-docker","owner":"ashleykleynhans","description":"Docker image for ComfyUI: The most powerful and modular stable diffusion GUI, api and backend with a graph/nodes interface.","archived":false,"fork":false,"pushed_at":"2026-05-11T05:58:42.000Z","size":218,"stargazers_count":56,"open_issues_count":0,"forks_count":26,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-05-11T07:23:54.254Z","etag":null,"topics":["comfyui","docker","docker-image","generative-ai","generative-art","latent-diffusion","runpod","sdxl","stable-diffusion"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashleykleynhans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"ashleykleynhans","buy_me_a_coffee":"ashleyk"}},"created_at":"2024-07-01T07:00:38.000Z","updated_at":"2026-05-11T05:21:21.000Z","dependencies_parsed_at":"2024-12-06T04:19:33.772Z","dependency_job_id":"749fdb65-8925-4388-85ae-02ed9e409d77","html_url":"https://github.com/ashleykleynhans/comfyui-docker","commit_stats":null,"previous_names":["ashleykleynhans/comfyui-docker"],"tags_count":112,"template":false,"template_full_name":null,"purl":"pkg:github/ashleykleynhans/comfyui-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashleykleynhans%2Fcomfyui-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashleykleynhans%2Fcomfyui-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashleykleynhans%2Fcomfyui-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashleykleynhans%2Fcomfyui-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashleykleynhans","download_url":"https://codeload.github.com/ashleykleynhans/comfyui-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashleykleynhans%2Fcomfyui-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33295278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comfyui","docker","docker-image","generative-ai","generative-art","latent-diffusion","runpod","sdxl","stable-diffusion"],"created_at":"2026-01-08T09:15:57.002Z","updated_at":"2026-05-21T09:04:58.322Z","avatar_url":"https://github.com/ashleykleynhans.png","language":"Shell","funding_links":["https://github.com/sponsors/ashleykleynhans","https://buymeacoffee.com/ashleyk","https://www.buymeacoffee.com/ashleyk"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Docker image for ComfyUI: The most powerful and modular stable diffusion GUI, api and backend with a graph/nodes interface.\n\n[![GitHub Repo](https://img.shields.io/badge/github-repo-green?logo=github)](https://github.com/ashleykleynhans/comfyui-docker)\n[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/ashleykza/comfyui?logo=docker\u0026label=dockerhub\u0026color=blue)](https://hub.docker.com/repository/docker/ashleykza/comfyui)\n[![RunPod.io Template](https://img.shields.io/badge/runpod_template-deploy-9b4ce6?logo=linuxcontainers\u0026logoColor=9b4ce6)](https://runpod.io/console/deploy?template=9eqyhd7vs0\u0026ref=2xxro4sy)\n\u003cbr\u003e\n![Docker Pulls](https://img.shields.io/docker/pulls/ashleykza/comfyui?style=for-the-badge\u0026logo=docker\u0026label=Docker%20Pulls\u0026link=https%3A%2F%2Fhub.docker.com%2Frepository%2Fdocker%2Fashleykza%2Fcomfyui%2Fgeneral)\n![Template Version](https://img.shields.io/github/v/tag/ashleykleynhans/comfyui-docker?style=for-the-badge\u0026logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjUuMywgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAyMDAwIDIwMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDIwMDAgMjAwMDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM2NzNBQjc7fQo8L3N0eWxlPgo8Zz4KCTxnPgoJCTxwYXRoIGNsYXNzPSJ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PSJNMTUyNC4wMSw2NjUuOTEiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K\u0026logoColor=%23ffffff\u0026label=Template%20Version\u0026color=%23673ab7)\n\n\u003c/div\u003e\n\n## Installs\n\n### Image Variants\n\n| Image          | CUDA   | Python | Torch  | xformers     |\n|----------------|--------|--------|--------|--------------|\n| cu128-py312 *  | 12.8.1 | 3.12   | 2.11.0 | -            |\n| cu128-py311    | 12.8.1 | 3.11   | 2.11.0 | -            |\n| cu124-py312    | 12.4.1 | 3.12   | 2.6.0  | 0.0.29.post3 |\n| cu124-py311    | 12.4.1 | 3.11   | 2.6.0  | 0.0.29.post3 |\n\n\\* *default image*\n\n### All Images Include\n\n* Ubuntu 22.04 LTS\n* [ComfyUI](https://github.com/comfyanonymous/ComfyUI) v0.22.0\n* [Jupyter Lab](https://github.com/jupyterlab/jupyterlab)\n* [code-server](https://github.com/coder/code-server)\n* [runpodctl](https://github.com/runpod/runpodctl)\n* [OhMyRunPod](https://github.com/kodxana/OhMyRunPod)\n* [RunPod File Uploader](https://github.com/kodxana/RunPod-FilleUploader)\n* [croc](https://github.com/schollz/croc)\n* [rclone](https://rclone.org/)\n* [Application Manager](https://github.com/ashleykleynhans/app-manager)\n* [CivitAI Downloader](https://github.com/ashleykleynhans/civitai-downloader)\n\n## Available on RunPod\n\nThis image is designed to work on [RunPod](https://runpod.io?ref=2xxro4sy).\n\nThere are options for both CUDA 12.4 (for **non 5090** GPU types),\nand CUDA 12.8 (for the **RTX 5090** GPU type).\n\nThere are also options for Python 3.11 and Python 3.12 for each since\nsome ComfyUI custom nodes require Python 3.11 and don't work correctly\nwith Python 3.12.\n\nClick on the appropriate link below to deploy the template of your choice on Runpod.\n\n| Runpod Template Version                                                                      | Runpod Template Description                                            |\n|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------|\n| [CUDA 12.4 + Python 3.11](https://runpod.io/console/deploy?template=ymfa1ds0d1\u0026ref=2xxro4sy) | Template with CUDA 12.4 and Python 3.11 for **non-RTX 5090** GPU types |\n| [CUDA 12.4 + Python 3.12](https://runpod.io/console/deploy?template=9eqyhd7vs0\u0026ref=2xxro4sy) | Template with CUDA 12.4 and Python 3.12 for **non-RTX 5090** GPU types |\n| [CUDA 12.8 + Python 3.11](https://runpod.io/console/deploy?template=moapg9g7mn\u0026ref=2xxro4sy) | Template with CUDA 12.8 and Python 3.11 for **RTX 5090** GPU type      |\n| [CUDA 12.8 + Python 3.12](https://runpod.io/console/deploy?template=jv061dyevn\u0026ref=2xxro4sy) | Template with CUDA 12.8 and Python 3.12 for **RTX 5090** GPU type      |\n\n\n## Building the Docker image\n\n\u003e [!NOTE]\n\u003e You will need to edit the `docker-bake.hcl` file and update `REGISTRY_USER`,\n\u003e and `RELEASE`.  You can obviously edit the other values too, but these\n\u003e are the most important ones.\n\n\u003e [!IMPORTANT]\n\u003e In order to cache the models, you will need at least 32GB of CPU/system\n\u003e memory (not VRAM) due to the large size of the models.  If you have less\n\u003e than 32GB of system memory, you can comment out or remove the code in the\n\u003e `Dockerfile` that caches the models.\n\n```bash\n# Clone the repo\ngit clone https://github.com/ashleykleynhans/comfyui-docker.git\n\n# Log in to Docker Hub\ndocker login\n\n# Build the default image (CUDA 12.8 and Python 3.12), tag the image, and push the image to Docker Hub\ndocker buildx bake -f docker-bake.hcl --push\n\n# OR build a different image (eg. CUDA 12.4 and Python 3.11), tag the image, and push the image to Docker Hub\ndocker buildx bake -f docker-bake.hcl cu124-py311 --push\n\n# OR build ALL images, tag the images, and push the images to Docker Hub\ndocker buildx bake -f docker-bake.hcl all --push\n\n# Same as above but customize registry/user/release:\nREGISTRY=ghcr.io REGISTRY_USER=myuser RELEASE=my-release docker buildx \\\n    bake -f docker-bake.hcl --push\n```\n\n## Running Locally\n\n### Install Nvidia CUDA Driver\n\n- [Linux](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html)\n- [Windows](https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html)\n\n### Start the Docker container\n\n```bash\ndocker run -d \\\n  --gpus all \\\n  -v /workspace \\\n  -p 2999:2999 \\\n  -p 3000:3001 \\\n  -p 7777:7777 \\\n  -p 8000:8000 \\\n  -p 8888:8888 \\\n  -e JUPYTER_PASSWORD=Jup1t3R! \\\n  -e EXTRA_ARGS=--lowvram --disable-xformers \\\n  ashleykza/comfyui:latest\n```\n\nYou can obviously substitute the image name and tag with your own.\n\n### Ports\n\n| Connect Port | Internal Port | Description          |\n|--------------|---------------|----------------------|\n| 3000         | 3001          | ComfyUI              |\n| 7777         | 7777          | Code Server          |\n| 8000         | 8000          | Application Manager  |\n| 8888         | 8888          | Jupyter Lab          |\n| 2999         | 2999          | Runpod File Uploader |\n\n### Environment Variables\n\n| Variable             | Description                                                                                 | Default               |\n|----------------------|---------------------------------------------------------------------------------------------|-----------------------|\n| JUPYTER_LAB_PASSWORD | Set a password for Jupyter lab                                                              | not set - no password |\n| DISABLE_AUTOLAUNCH   | Disable application from launching automatically                                            | (not set)             |\n| DISABLE_SYNC         | Disable syncing if using a RunPod network volume                                            | (not set)             |\n| EXTRA_ARGS           | Specify extra command line arguments for ComfyUI, eg. `--lowvram`, `--disable-xformers` etc | (not set)             |\n\n## Logs\n\nComfyUI creates a log file, and you can tail it instead of\nkilling the service to view the logs\n\n| Application | Log file                    |\n|-------------|-----------------------------|\n| ComfyUI     | /workspace/logs/comfyui.log |\n\n## Community and Contributing\n\nPull requests and issues on [GitHub](https://github.com/ashleykleynhans/comfyui-docker)\nare welcome. Bug fixes and new features are encouraged.\n\n## Appreciate my work?\n\n\u003ca href=\"https://www.buymeacoffee.com/ashleyk\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashleykleynhans%2Fcomfyui-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashleykleynhans%2Fcomfyui-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashleykleynhans%2Fcomfyui-docker/lists"}