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 v2 not found but docker-compose v2 is installed #51

Open
ronald2wing opened this issue Mar 21, 2024 · 1 comment
Open

Comments

@ronald2wing
Copy link

ronald2wing commented Mar 21, 2024

Cloning into 'rails7-startkit'...
remote: Enumerating objects: 2519, done.
remote: Counting objects: 100% (608/608), done.
remote: Compressing objects: 100% (95/95), done.
remote: Total 2519 (delta 534), reused 514 (delta 513), pack-reused 1911
Receiving objects: 100% (2519/2519), 12.48 MiB | 13.22 MiB/s, done.
Resolving deltas: 100% (1544/1544), done.
Docker version 24.0.7, build afdd53b4e3
=> Docker found
=> Docker is running
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rails 7. StartKit
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=> Docker Compose v2 not found
To continue please install or upgrade Docker Compose v2
More info: https://docs.docker.com/compose/compose-v2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~/De/R/rails7-startkit    master  docker-compose -v                                 1 ✘    5  
Docker Compose version 2.23.3

I am using Arch Linux.

docker compose version
Docker Compose version 2.23.3

Even this command works but the match does not contains v2.

Works after change v2 to 2 in Rails7StartKit/bin/docker.rb

@Philwi
Copy link

Philwi commented Apr 10, 2024

if output.match(/Docker Compose version v2/)

This regex does not match the version command of docker compose:
Docker Compose version 2.24.6

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

No branches or pull requests

2 participants