Welcome to the Stable Diffusion WebUI Docker repository! This Dockerized runner simplifies the execution of stable-diffusion-webui by encapsulating it within a container environment. This is particularly handy when you need to deploy the repository on a shared network location and leverage diverse hardware resources – such as a different machine with a powerful GPU.
Follow these steps to get up and running with the Stable Diffusion WebUI Docker:
-
Clone the Repository: Begin by cloning the stable-diffusion-webui repository to your machine.
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
-
Run the Container: Execute the following command to run the Docker container, ensuring the repository directory is mounted within it:
docker run --name sd-ui -v ./stable-diffusion-webui:/stable-diffusion-webui ghcr.io/tlaanemaa/stable-diffusion-webui-docker:latest
If you need to build the Docker image yourself, you can do so with the following command:
docker build -t stable-diffusion-webui .
Feel free to explore, experiment, and streamline your use of the Stable Diffusion WebUI through this Dockerized setup. Happy coding!
Note: This project is not officially affiliated with AUTOMATIC1111/stable-diffusion-webui.