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

No support for docker compose v2 #315

Open
arnesetzer opened this issue May 15, 2023 · 2 comments
Open

No support for docker compose v2 #315

arnesetzer opened this issue May 15, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@arnesetzer
Copy link

arnesetzer commented May 15, 2023

Describe the bug
On a system with only docker compose (v2) installed every command fails due to missing support for docker compose (v2)

/home/arne/docker/cmd/docker.sh: Line 20: docker-compose: Command not found.

The line is just an example and can be replaced with every function in ./docker/cmd/docker.sh

Steps to Reproduce
Steps to reproduce the behavior:

  1. Install docker and docker compose as recommanded (https://docs.docker.com/compose/install/linux/#install-using-the-repository)
  2. Follow the install script
  3. Import fails on pelias compose pull

Expected behavior
Since the last release for compose v1 was in 2021 and the installation guide heavily recommands to use v2 I expect that pelias works out of the box with docker compose v2.

Environment (please complete the following information):

  • OS: Debian 11 (Bullseye) Kernel version: 5.10.22-amd64
  • Docker: 23.0.6
  • Docker compose: v2.17.3

Pastebin/Screenshots
X

Additional context
Before opening a PR with the compsoe v2 commands: I guess commands also should also work with compose v1 (backwards compability)?

References

Related PR: #303

@arnesetzer arnesetzer added the bug Something isn't working label May 15, 2023
@borys-spiridonov-yal
Copy link

borys-spiridonov-yal commented Nov 15, 2023

I'm still getting the error "docker-compose: command not found" when trying to start Pelias on the system with docker-compose v2

# pelias compose pull
/mnt/pelias/osm-deploy/pelias/pelias-docker/cmd/docker.sh: line 20: docker-compose: command not found

# docker compose version
Docker Compose version v2.23.0

@arnesetzer
Copy link
Author

See #303 for a working solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants