Error downloading docker image for custom image mode(juggernaut)
I am using wsl
2 Replies
The error seems to be due to two issues in your Dockerfile:
Casing Warning: The Dockerfile has a casing inconsistency for FROM and AS. The as in FROM ... AS ... should match the casing of FROM, so it should be capitalized as AS in both instances. This is a warning, but aligning the casing will help maintain code consistency.
Pipefail Option in Clone Script: The error in /clone.sh shows an illegal option -o pipefail. It seems set -o pipefail was used, which is only valid in bash, not in /bin/sh (the default shell for Docker RUN commands). To address this:
Update the Dockerfile to use bash instead of sh for commands requiring pipefail.
Modify the clone command to explicitly use bash to ensure compatibility.
Here's a modified snippet of your Dockerfile:
Thank you soo much. I ended up just using fooocus as it was much easier to setup. But Thanks a lot