StableDiffusion UI
in Docker, but now, this is a note repo for all AI-related projects.
- How access host network in docker container?
- macOS and Windows:
host.docker.internal
. - Linux: add
into a service in compose yaml file.
extra_hosts: - "host.docker.internal:host-gateway"
- macOS and Windows:
- How to use proxy for image building progress?
-
export http_proxy=http://proxy.lan:1080 docker build \ --build-arg "http_proxy=$http_proxy" --build-arg "https_proxy=$http_proxy"--build-arg no_proxy=localhost,127.0.0.1 \ --progress=plain \ -t image:tag -f Dockerfile .
-
- Failed to install NVIDIA CUDA driver
- Find out the modules that were failed to install on the Installation Summary Dialog
- Then rerun the installer, and uncheck the modules that were failed to install. And at the same time, download the modules from NVIDIA developer website and install them manually.
- For me, I failed to install
nsight-compute
. After all above steps, Everything works fine.
- How backup container?
-
docker commit 1111webui-app-1 1111webui:v1
-
- How backup image?
-
docker image save 1111webui:v1 -o 1111webui.v1.tar
-
-
and more...