dockstation icon indicating copy to clipboard operation
dockstation copied to clipboard

Docker Compose Error

Open igor-lemon opened this issue 2 years ago • 14 comments

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

image image

igor-lemon avatar Jul 20 '21 10:07 igor-lemon

The linux version does not have this setting.

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

Serg28 avatar Aug 07 '21 20:08 Serg28

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

andrewtmendoza avatar Sep 03 '21 16:09 andrewtmendoza

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

ManciuStefan avatar Oct 20 '21 07:10 ManciuStefan

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.

ede1000son avatar Oct 21 '21 15:10 ede1000son

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.

thblckjkr avatar Oct 26 '21 17:10 thblckjkr

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/

initdc avatar Apr 03 '22 08:04 initdc

The Docker Compose v2 will be supported in v1.6.0 image

igor-lemon avatar Apr 09 '22 01:04 igor-lemon

When will v1.6.0 be released?

rikp777 avatar Apr 29 '22 13:04 rikp777

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

igor-lemon avatar Apr 30 '22 10:04 igor-lemon

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

c42759 avatar May 17 '22 18:05 c42759

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

igor-lemon avatar May 17 '22 18:05 igor-lemon

@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?

c42759 avatar May 17 '22 19:05 c42759

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.

namaneko avatar Mar 26 '23 22:03 namaneko

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.

mabynum avatar Apr 17 '23 10:04 mabynum