Bluedevil678 Posted October 22, 2022 Share Posted October 22, 2022 (edited) 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 October 22, 2022 by Bluedevil678 1 Quote Link to comment
Bluedevil678 Posted October 24, 2022 Author Share Posted October 24, 2022 Solved, manually run the docker compose after editing the yml file to list my own directories and it worked. 1 Quote Link to comment
wes.crockett Posted November 2, 2022 Share Posted November 2, 2022 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? 1 Quote Link to comment
Jeryd Posted November 6, 2022 Share Posted November 6, 2022 Any updates to this? Quote Link to comment
drbaltar Posted November 10, 2022 Share Posted November 10, 2022 (edited) 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 November 10, 2022 by drbaltar 4 Quote Link to comment
pyrater Posted November 11, 2022 Share Posted November 11, 2022 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/ Quote Link to comment
pyrater Posted November 11, 2022 Share Posted November 11, 2022 I created a template for this to be published to CA. Not sure if i did it right as i have never done it but we will see. https://github.com/pyrater/docker-templates https://github.com/pyrater/docker-templates/blob/master/sd-webui.xml 1 Quote Link to comment
Jeryd Posted November 12, 2022 Share Posted November 12, 2022 14 hours ago, pyrater said: I created a template for this to be published to CA. Not sure if i did it right as i have never done it but we will see. https://github.com/pyrater/docker-templates https://github.com/pyrater/docker-templates/blob/master/sd-webui.xml I can't find it yet in the app section. Is it just called sd-webui? Quote Link to comment
pyrater Posted November 12, 2022 Share Posted November 12, 2022 Yea it's called sd-webui. I don't think it is approved / published yet. 1 Quote Link to comment
Krash Posted November 14, 2022 Share Posted November 14, 2022 As of this post, it's available in CA as 'sd-webui'. 2 Quote Link to comment
Jeryd Posted November 14, 2022 Share Posted November 14, 2022 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. Quote Link to comment
pyrater Posted November 14, 2022 Share Posted November 14, 2022 (edited) 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 November 14, 2022 by pyrater 1 Quote Link to comment
domrockt Posted February 9, 2023 Share Posted February 9, 2023 is it possible to use the Intel IGPU with this? like the openvino package? that would be fun for the Kids. Quote Link to comment
Recommended Posts
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.