Comments (10)
I'm facing the same issue on an AWS EC2 Linux instance. Fixed after running chmod +x ./build/mount.sh
from outside the docker container.
from stable-diffusion-webui-docker.
I've forked to modify the Shell command in the build to use "//bin/bash" instead of "/bin/bash", which has resolved a similar error for me. On WSL the precedent "/" before the filepath indicates a *nix filepath. After that modification the build was successful for me.
from stable-diffusion-webui-docker.
what sort of black magic is this?
Universal Naming Convention (UNC) is what I believe drives this 'trick'. Here's the Microsoft Docs page that talks about it. While UNC are used to connect to shares typically, it must map out https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats
As to why it was necessary...not real sure. I'm very new to WSL and Docker, so it is most likely user error. Regardless, it works for me :) It was something I saw as a solve for my particular issue on StackOverflow. Here's the link to the comment: https://stackoverflow.com/a/61737743
It appears that my system does not see bash at /bin/bash and kept throwing a 'command not found' error at the Shell call.
from stable-diffusion-webui-docker.
Thanks, Have confirmed that it is now working as supposed to on Ubuntu 22.04.01/WSL2
from stable-diffusion-webui-docker.
@MiccoHadje thanks! I will look deeper into it.
One question, did you install docker on windows or inside wsl? and did you run docker on powershell or inside wsl?
It appears that my system does not see bash at /bin/bash and kept throwing a 'command not found' error at the Shell call.
So the error was thrown at this line when building the container?
Yes, that is the line the error was thrown on. I installed Docker on Windows, and run Docker from Powershell.
from stable-diffusion-webui-docker.
@MiccoHadje Ok, I will update the FAQ, its weird that I can't reproduce this problem...
@hughk glad its working!
from stable-diffusion-webui-docker.
I have directly updated the executable status in the git index.
@hughk Can you try again from latest master?
Working on a windows machine makes detecting these problems almost impossible.
from stable-diffusion-webui-docker.
what sort of black magic is this?
@MiccoHadje why is this necessary? could you please guide me to some sort of documentation that explains this behaviour?
The bash command is executed within the miniconda container, I would assume that the rules of WSL don't apply / matter anymore?
from stable-diffusion-webui-docker.
@MiccoHadje thanks! I will look deeper into it.
One question, did you install docker on windows or inside wsl? and did you run docker on powershell or inside wsl?
It appears that my system does not see bash at /bin/bash and kept throwing a 'command not found' error at the Shell call.
So the error was thrown at this line when building the container?
from stable-diffusion-webui-docker.
have directly updated the executable status in the git index.
@hughk Can you try again from latest master?
I have checked and it seems to have moved past this point. Will close when I have confirmed.
from stable-diffusion-webui-docker.
Related Issues (20)
- I update 1.6 to 1.7 HOT 1
- use AnimateDiff mportError: cannot import name 'animatediff_i2ibatch
- comfy 的docker image是否沒有更新了
- exec format error HOT 2
- ComfyUI Out of Date HOT 3
- Cannot start due to wcwidth error
- error during container init: unable to apply apparmor profile HOT 1
- Updating auto1111 HOT 1
- Stuck at "removing nvidia-cudnn-cu11" forever HOT 4
- Unexpected error from cudaGetDeviceCount() HOT 13
- Docker install fails due to "missing" library HOT 11
- Automatic UI and Invoke fail to start (throwing exceptions) HOT 12
- Cannot load container on Ubuntu 24.04 HOT 4
- ModuleNotFoundError: No module named 'torch._custom_ops' HOT 3
- Cannot install auto HOT 1
- Redundant code in Auto
- Failed building in windows HOT 1
- install ComfyUI Manager when building the Comfy docker image
- Unable to build the "auto" (AUTOMATIC1111) image via docker build HOT 2
- ImportError: cannot import name 'TypeIs' HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stable-diffusion-webui-docker.