Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aoirint/stable-diffusion-webui-docker
AUTOMATIC1111/stable-diffusion-webui in Docker
https://github.com/aoirint/stable-diffusion-webui-docker
Last synced: about 1 month ago
JSON representation
AUTOMATIC1111/stable-diffusion-webui in Docker
- Host: GitHub
- URL: https://github.com/aoirint/stable-diffusion-webui-docker
- Owner: aoirint
- License: mit
- Created: 2023-02-25T06:48:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-16T13:41:43.000Z (about 1 year ago)
- Last Synced: 2023-12-16T14:38:57.298Z (about 1 year ago)
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/aoirint/sd_webui
- Size: 39.1 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stable Diffusion Web UI in Docker
-
## Environments
- Ubuntu 20.04 or later
- [Docker Engine](https://docs.docker.com/engine/install/ubuntu/) 23.0 or later
- [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html)## Usage
### 1. Build Docker image```shell
sudo docker build -t aoirint/sd_webui .
```### 2. Run Web UI
```shell
# Create permanent directories (UID:GID = 1000:1000)
mkdir -p ./data ./log ./cache/huggingface
sudo chown -R 1000:1000 ./data ./log ./cachesudo docker run --gpus all --rm -it -v "./data:/data" -v "./log:/code/stable-diffusion-webui/log" -v "./cache/huggingface:/home/user/.cache/huggingface" -p "127.0.0.1:7860:7860/tcp" aoirint/sd_webui
# To install extensions via Web UI (DO NOT ALLOW PUBLIC ACCESS),
sudo docker run --gpus all --rm -it -v "./data:/data" -v "./log:/code/stable-diffusion-webui/log" -v "./cache/huggingface:/home/user/.cache/huggingface" -p "127.0.0.1:7860:7860/tcp" aoirint/sd_webui --enable-insecure-extension-access
```