explaingit

abdbarho/stable-diffusion-webui-docker

7,320ShellAudience · vibe coderComplexity · 4/5LicenseSetup · hard

TLDR

A Docker setup that lets you run Stable Diffusion AI image generation on your own computer with either the AUTOMATIC1111 or ComfyUI browser interface, started with a single command and no manual dependency installation.

Mindmap

mindmap
  root((repo))
    What It Does
      Local AI images
      Docker packaging
      Single command start
    Interfaces
      AUTOMATIC1111
      ComfyUI node editor
    Tech
      Docker Compose
      GPU required
      Browser-based UI
    Limits
      No harmful content
      Wiki for full setup
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Generate AI images from text prompts on your own computer without paying per-image cloud fees

USE CASE 2

Run the AUTOMATIC1111 interface for text-to-image, image editing, and advanced controls directly in your browser

USE CASE 3

Use ComfyUI's visual node editor to design and save custom image generation workflows

USE CASE 4

Spin up the full Stable Diffusion stack with a single Docker Compose command instead of installing dependencies manually

Tech stack

DockerDocker ComposeShell

Getting it running

Difficulty · hard Time to first run · 1h+

Requires Docker, Docker Compose, and a GPU with sufficient VRAM, an NVIDIA GPU is recommended for best compatibility.

Free to use for personal and commercial projects but explicitly prohibited for generating harmful content, spreading misinformation, or producing material that violates laws.

In plain English

This repository provides a way to run Stable Diffusion on your own computer using Docker. Stable Diffusion is an AI image generation system that creates images from text descriptions. Setting it up from scratch can be complicated because it requires specific software dependencies and GPU configuration. This project packages everything into Docker containers so you can get it running more quickly and with less manual setup. The setup includes support for two different graphical interfaces: AUTOMATIC1111 and ComfyUI. AUTOMATIC1111 is a feature-rich interface that covers text-to-image generation, image-to-image editing, and various extras. ComfyUI uses a visual node-based workflow where you connect components together to define how image generation works. Both interfaces run in your browser once the containers are started. Docker is a tool that packages software and all its requirements into a self-contained unit that runs the same way regardless of your operating system. This project uses Docker Compose, which coordinates multiple containers working together, to start the full stack with a single command. Detailed setup and usage instructions are in the project's wiki on GitHub. This project is a wrapper around existing open-source Stable Diffusion interfaces rather than a new AI system itself. The README includes a disclaimer that the authors are not responsible for content generated using it, and the license prohibits use for content that causes harm, spreads misinformation, or violates laws.

Copy-paste prompts

Prompt 1
I just cloned stable-diffusion-webui-docker. Walk me through getting AUTOMATIC1111 running on a Windows machine with an NVIDIA GPU, step by step
Prompt 2
How do I switch between the AUTOMATIC1111 and ComfyUI interfaces in stable-diffusion-webui-docker?
Prompt 3
My stable-diffusion-webui-docker container started but the browser interface at localhost won't load. What are the most common causes and fixes?
Prompt 4
Help me write a Docker Compose override file to mount a local folder of downloaded model checkpoints into the stable-diffusion-webui-docker container
Prompt 5
I want to run stable-diffusion-webui-docker on a machine with an AMD GPU. What changes do I need to make to the Docker configuration?
Open on GitHub → Explain another repo

← abdbarho on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.