Using LyCORIS in Dockerized automatic1111 Stable Diffusion web UI

LyCORIS tab on Stable Diffusion web UI

If you’ve had trouble using LyCORIS in automatic1111 Stable Diffusion web UI chances are you’re using the Docker version. To get it to work, you’ll need to make a small change – but I’ll quickly lay out how to get it up and running in your container from start to finish.


You’ll first need to install an extension to use LyCORIS, called a1111-sd-webui-lycoris.

  1. In your web UI go to the Extensions tab.
  2. In the new area click the Available tab and press Load from: with the default URL that’s already there.
  3. Search for a1111-sd-webui-lycoris and click Install.

Normally you can reload the web UI and the extension will be available for use by putting your LyCORIS model files in /stable-diffusion-webui/models/LyCORIS but this will not work out of the box in the automatic1111 Docker container if you’re running an earlier version of sd-auto.

The fix.

To fix this you’ll need to enter the Docker container and modify the entrypoint script.


In Docker Desktop on Windows locate your sd-auto container (you likely only have one named auto-1) under the webui-docker.

  1. Select the container.
  2. Go to the Terminal tab and then continue reading after the next section.

Linux and MacOS

On Linux and MacOS you’ll work from the terminal and enter the container manually.

  1. From a terminal type docker ps and locate the name of your sd-auto container (likely webui-docker-auto-1)
  2. Enter the container using docker exec -it webui-docker-auto-1 bash, changing the name where appropriate.

Update the container

  1. At the prompt type cp /docker/ /data/ to copy the file.
  2. Browse to the data folder on your host computer that you add your models to and open in a text editor.
  3. There are many lines that start with MOUNTS, copy one (e.g., MOUNTS["${ROOT}/models/Lora"]="/data/Lora"), paste it onto its own line and change both directory paths to end in LyCORIS, then save the file.
  1. Back inside the container terminal, copy back over the original by typing cp /data/ /docker/ and overwrite the file if prompted.
  2. Create a LyCORIS directory in your data folder where you store your other models.
  3. Restart the container.

Now you should be able to see the LyCORIS tab after clicking the 🎴 Show extra networks button.

Leave a Reply

Your email address will not be published. Required fields are marked *