Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Running Stable Diffusion custom container

Featured Replies

Hi all! 

 

I'm looking to install this container found on GitHub: https://github.com/AbdBarho/stable-diffusion-webui-docker

Although I have some experience installing containers from CA I must admit I'm a little lost on where to start with a custom container. 

 

 I've only just gotten a GPU enabled for the likes of Plex but thought the usage for Stable Diffusion would be a fantastic addition. 

 

Are there any guides or videos I could follow to empower me to achieve this goal? 

Any advice would be appreciated! (please be gentle lol) 

Edited by Bluedevil678

  • Author

Solved, manually run the docker compose after editing the yml file to list my own directories and it worked. 

  • 2 weeks later...

I've been wanting to set this up but am rather new to creating my own docker containers... Any chance for a screen shot or something of how you have this configured?

Any updates to this?

Here's what I did,  hopefully this helps

 

1)  Install "Docker Compose Manager" from the app store

 

2) go into a terminal (or ssh into your box)  and make a directory for stable diffusion.   I put it on my cache drive so it was /mnt/cache

 

3) cd into that directory and type wget https://github.com/AbdBarho/stable-diffusion-webui-docker/archive/refs/heads/master.zip

 

4) unzip the resulting file  ie. unzip master.zip

 

5) go into the dir you just unzipped and type "docker compose --profile auto up --build"   That might take a while,  maybe even a few hours.  It'll

download the models to your machine.  Once it's done,  it'll say something like :  Running on local URL:  http://0.0.0.0:7860

 

6) go into a browser and  enter   yourIP:7860

 

That should do it.   The container will show up in the gui as well.

 

 

Notes:

 

  subsequent restarts won't take hours,  it'll be pretty quick

 

you probably want GPU drivers up and running before hand as well.

Edited by drbaltar

i also got a fork of this working by doing something close to this:

 

make a folder (/mnt/user/dockers/) is what i used

cd into the folder 

 

run

docker pull hlky/sd-webui:latest

 

run

docker container run --rm -d -p 8501:8501 -e STREAMLIT_SERVER_HEADLESS=true -e "WEBUI_SCRIPT=webui_streamlit.py" -e "VALIDATE_MODELS=false" -v "${PWD}/outputs:/sd/outputs" --gpus all hlky/sd-webui:latest

 

Directions

https://sygil-dev.github.io/sygil-webui/docs/Installation/docker-guide/

Yea it's called sd-webui. I don't think it is approved / published yet.

As of this post, it's available in CA as 'sd-webui'.

Installing now

I got it running. Here are my recommended updates:

  • I had to change the nvidia card ID, the one in the script does not match mine. Recommend changing the base to show "ALL" (without quotes). That will work with all nvidia cards.
  • I changed it into bridge mode and added an HTTP port in the script (8501). No free access to network here.
  • I changed the install links from the Dockers folder to the standard appdata. I really recommend this so its inline with all the other apps.
  • It needs an icon.
  • I cant get stable diffusion to work. Waifu diffusion works.

I'm quickly running out of memeroy on the Video card. I have a Quadro P2000 - Looks like Ill need to find something with more ram.

 

 

awesome! I'm glad you got it working. I will make those changes you suggested. Additionally, I think at this point I should probably make a dedicated support thread as I feel like we have bad/hijacked the OPs original thread. 

 

Support thread: 

 

Edited by pyrater

  • 2 months later...

is it possible to use the Intel IGPU with this? like the openvino package? that would be fun for the Kids.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.