Skip to content

Bug: Doesn't support docker compose v2 #719

@bshramin

Description

@bshramin

Describe the bug
In recent versions of Docker Compose we no longer have the docker-compose command instead we use docker compose (mind the space instead of dash) but Polar does not understand this.

To Reproduce
Steps to reproduce the behavior:

  1. Remove old versions of docker-compose
  2. Install the most recent version of docker compose
  3. The command docker compose version should work properly but docker-compose version should result in an error
  4. Install Polar
  5. You'll see this error on startup
Docker Compose	Not Found
{"errno":-2,"code":"ENOENT","syscall":"spawn docker-compose","path":"docker-compose","spawnargs":["version","--short"]}

Expected behavior
Polar should also try docker compose and be compatible with recent versions of docker compose.

Screenshots
Screenshot from 2023-05-18 13-17-14

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Polar Version: x86_64-v1.4.1
  • Docker Version: 23.0.6
  • Docker Compose Version: 2.3.3

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions