Sign inSign up

stzsch/stable-diffusion-webui-unraid-nvidia

By stzsch

•Updated over 3 years ago

My AUTOMATIC1111 Dockerfile for Unraid 6.9.2 with NVIDIA 3060 12GB

Image
0

703

stzsch/stable-diffusion-webui-unraid-nvidia repository overview

Files in https://gist.github.com/stzsch/2abfecdacc2aa0ef94584d2241b59adc⁠

Beware, this is very much tailored to my own setup, there may be nasty hacks here and there.

Based on https://github.com/AbdBarho/stable-diffusion-webui-docker⁠.

Tag is the github short commit of auto's repo the image is built against.

The image expects the following mount points:

  • /output: output files
  • /data: models, config, etc, see entrypoint.sh in the gist for details
  • /stable-diffusion-webui/extensions: extensions don't work well when symlinked from inside the /data folder, so mount them directly to avoid issues

For use with nvidia don't forget to set --runtime=nvidia in the container and the following container variables:

  • NVIDIA_VISIBLE_DEVICES
  • NVIDIA_DRIVER_CAPABILITIES

(if in doubt, setting both to "all" should work)

webui.py is executed with --listen and --port 7860. You can set more options with the variable CLI_ARGS.

Tag summary

Content type

Image

Digest

sha256:a9ad44c57…

Size

5.5 GB

Last updated

over 3 years ago

docker pull stzsch/stable-diffusion-webui-unraid-nvidia