Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Compose Error #288

Open
igor-lemon opened this issue Jul 20, 2021 · 15 comments
Open

Docker Compose Error #288

igor-lemon opened this issue Jul 20, 2021 · 15 comments
Assignees
Labels
Milestone

Comments

@igor-lemon
Copy link
Member

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

image
image

@igor-lemon igor-lemon pinned this issue Jul 20, 2021
@Serg28
Copy link

Serg28 commented Aug 7, 2021

The linux version does not have this setting.

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

@andrewtmendoza
Copy link

andrewtmendoza commented Sep 3, 2021

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
Copy link

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
Copy link

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
Copy link

thblckjkr commented Oct 26, 2021

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
Copy link

initdc commented Apr 3, 2022

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 igor-lemon added this to the 1.6.0 milestone Apr 9, 2022
@igor-lemon igor-lemon added the bug label Apr 9, 2022
@igor-lemon igor-lemon self-assigned this Apr 9, 2022
@igor-lemon
Copy link
Member Author

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

@rikp777
Copy link

rikp777 commented Apr 29, 2022

When will v1.6.0 be released?

@igor-lemon
Copy link
Member Author

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

@c42759
Copy link

c42759 commented May 17, 2022

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

@igor-lemon
Copy link
Member Author

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

@c42759
Copy link

c42759 commented May 17, 2022

@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
Copy link

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
Copy link

mabynum commented Apr 17, 2023

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
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests