Giter Site home page Giter Site logo

Comments (8)

isapir avatar isapir commented on May 14, 2024 3

installing the docker-compose-plugin [1] on Ubuntu resolved the issue for me:

sudo apt install docker-compose-plugin

[1] https://docs.docker.com/compose/install/linux/#install-the-plugin-manually

from stable-diffusion-webui-docker.

AbdBarho avatar AbdBarho commented on May 14, 2024

update to latest docker and docker compose.
use docker compose instead of docker-compose

Related #6

from stable-diffusion-webui-docker.

tr7zw avatar tr7zw commented on May 14, 2024

Ran into the same issue, I had to update docker(was on a rather old version).

from stable-diffusion-webui-docker.

fivethreeo avatar fivethreeo commented on May 14, 2024

Or make heredoc to multiline bash RUN

from stable-diffusion-webui-docker.

shodanx2 avatar shodanx2 commented on May 14, 2024

Hi

Having the same issue

root@stablediffusion:/opt/stable-diffusion-webui-docker# docker-compose build
Building model
Sending build context to Docker daemon  7.168kB
Error response from daemon: dockerfile parse error line 14: unknown instruction: GIT
ERROR: Service 'model' failed to build : Build failed
root@stablediffusion:/opt/stable-diffusion-webui-docker# docker --version
Docker version 20.10.12, build 20.10.12-0ubuntu4
root@stablediffusion:/opt/stable-diffusion-webui-docker# docker compose build
docker: 'compose' is not a docker command.
See 'docker --help'

Even though I have a very recent docker , something changed between 20.10.12 and 20.10.18 and now you need the latest

On ubuntu, upgrading was as easy as

apt remove docker-compose
apt -y install curl
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

then you can resume your stablediffusion installation

from stable-diffusion-webui-docker.

github-actions avatar github-actions commented on May 14, 2024

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.

from stable-diffusion-webui-docker.

github-actions avatar github-actions commented on May 14, 2024

This issue was closed because it has been stalled for 7 days with no activity.

from stable-diffusion-webui-docker.

Paulie420 avatar Paulie420 commented on May 14, 2024

For the last poster, dont just install docker-compose by 'sudo apt install docker-compose' ... you want to install the newest docker compose (see, not docker-compose...) by following this : https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-22-04
If yer not using 22.04, google search 'ubuntu docker compose' and select the digitalocean.com howto for your ubuntu version... this is different than installing docker-compose. :P

from stable-diffusion-webui-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.