https://github.com/ojsl1/my-dockerized-sd
Collection of Dockerfiles for Stable Diffusion on AMD hardware
https://github.com/ojsl1/my-dockerized-sd
comfyui docker docker-compose sd-webui stable-diffusion
Last synced: 2 months ago
JSON representation
Collection of Dockerfiles for Stable Diffusion on AMD hardware
- Host: GitHub
- URL: https://github.com/ojsl1/my-dockerized-sd
- Owner: ojsl1
- Created: 2025-01-05T07:02:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-23T11:23:50.000Z (over 1 year ago)
- Last Synced: 2025-03-25T06:45:21.021Z (about 1 year ago)
- Topics: comfyui, docker, docker-compose, sd-webui, stable-diffusion
- Language: Dockerfile
- Homepage:
- Size: 87.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Dockerized Stable Diffusion for AMD
- `docker-compose up `
Forge uses `config.json` and `ui-config.json` to save settings (note they've been prone to become incompatible with newer forge/gradio versions).
#### Navigation:
- `docker cp :/Forge/stable-diffusion-webui/config.json ./config.json`
- `docker exec -it rocm6.1 bash`
#### Info, logs
- `docker ps -a`
- `docker images`
- `docker logs -f rocm6.1`
- `docker inspect | grep com.docker.compose`
- `du -hd1 /var/lib/docker/overlay2 | sort -h`
#### Cleanup
Remove all unused data (warning: start up important containers to exclude them!).
- `docker system prune -af`
Remove specific unused data:
- `docker container prune -a`
- `docker network prune -a`
- `docker image prune -a`
- `docker builder prune -a` (always uses the most space)
- `docker volume prune -a`
Remove image
- `docker rm `
- `docker rmi `
Images with `:` indicate orphans that can be safely removed with:
- `docker images -f "dangling=true"`
- `docker image prune`
#### Untested cleanup commands
- `docker rm -vf $(docker ps -aq)`
- `docker rmi -f $(docker images -aq)`
- `docker volume rm $(docker volume ls -qf dangling=true)`