DockStation / dockstation

DockStation is developer-centric application to managing projects based on Docker. Instead of lots of CLI commands you can monitor, configure, and manage services and containers using just a GUI.
https://dockstation.io/
2.16k stars 107 forks source link

Docker Compose Error #288

Open igor-lemon opened 3 years ago

igor-lemon commented 3 years ago

If you have a Docker Compose error, disable Docker Compose v2 in the Docker settings.

image image

Serg28 commented 3 years ago

The linux version does not have this setting.

https://i.imgur.com/ADQsfJx.png

andrewtmendoza commented 3 years ago

The linux version does not have this setting.

https://i.imgur.com/ADQsfJx.png

Does docker-compose disable-v2 work? https://docs.docker.com/compose/cli-command/#compose-v2-and-the-new-docker-compose-command

ManciuStefan commented 3 years ago

In my case, the docker-compose disable-v2 did not work (it said command not found or something like that), so what I did was this:

  1. install docker-compose 1.29.2 (latest version lower than v2) to /usr/local/bin
  2. unlink /usr/bin/docker-compose (this one links to the v2 from docker)
  3. ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
ede1000son commented 3 years ago

In my case, the docker-compose disable-v2 did not work (it said command not found or something like that), so what I did was this:

  1. install docker-compose 1.29.2 (latest version lower than v2) to /usr/local/bin
  2. unlink /usr/bin/docker-compose (this one links to the v2 from docker)
  3. ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

Thanks, man! I solved my issue with it.

thblckjkr commented 3 years ago

Had the same problem, it looks like Dockstation is not compatible with docker-compose v2 yet.

Since I'm using manjaro, I just downloaded the latest, useful docker-compose from the repo and then installed it with makepkg

This little script would probably be useful to somebody else.

mkdir docker-compose
curl -SL https://raw.githubusercontent.com/archlinux/svntogit-community/c8543ecac697a474a2c4bab17b6b89eb56f9a4aa/docker-compose/repos/community-any/PKGBUILD -o ./docker-compose/PKGBUILD
cd docker-compose
makepkg -s
makepkg -i

Maybe we need a docker-compose-v1 on the AUR to make this easier.

initdc commented 2 years ago

You need docker-compose v1 version on current https://github.com/docker/compose/releases/tag/1.29.2

on x86-64 linux host sudo wget https://github.com/docker/compose/releases/download/1.29.2/docker-compose-Linux-x86_64 -O /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose

people with network problem sudo wget https://gh-rep.mirr.one/docker/compose/releases/download/1.29.2/docker-compose-Linux-x86_64 -O /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose


with unix://var/run/docker.sock problem

sudo chmod 666 /var/run/docker.sock

ref: https://adamtheautomator.com/docker-permission-denied/

igor-lemon commented 2 years ago

The Docker Compose v2 will be supported in v1.6.0

image
rikp777 commented 2 years ago

When will v1.6.0 be released?

igor-lemon commented 2 years ago

@rikp777 Hi! There are already release candidates, now we are testing and I fix bugs if there are any.

c42759 commented 2 years ago

Is this being maintained at least? No activity on the repo since last year...

igor-lemon commented 2 years ago

@c42759 Welcome https://github.com/DockStation/dockstation/discussions/310, you can help to release faster

c42759 commented 2 years ago

@c42759 Welcome #310, you can help to release faster

I don't understand why different repos for the same software, so what's the role of DockStation/dockstation repo?

namaneko commented 1 year ago

Is there still a plan for this to be working in an upcoming version? Just installed the most recent version from the website on my Linux server box and there still doesn't appear to be support Docker Compose v2.

mabynum commented 1 year ago

Is there still a plan for this to be working in an upcoming version? Just installed the most recent version from the website on my Linux server box and there still doesn't appear to be support Docker Compose v2.

Crickets :/

Please let us know if this application is expected to be maintained, as I am interested in deploying this to help my team. There really aren't any good alternatives, so I hope you do continue.

diego-roberto commented 2 weeks ago

Hello there! @igor-lemon the v1.6.0-rc.1 supports Docker Composer v2?

By the way, I really appreciate Dockstation, man... congratulations and thank you!