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

LocalDockerCompose does not support Docker Compose v2 #5596

Closed
kamilkloch opened this issue Jul 13, 2022 · 3 comments
Closed

LocalDockerCompose does not support Docker Compose v2 #5596

kamilkloch opened this issue Jul 13, 2022 · 3 comments

Comments

@kamilkloch
Copy link

Module

Core

Testcontainers version

1.17.3

Using the latest Testcontainers version?

Yes

Host OS

Linux

Host Arch

x86

Docker version

Client: Docker Engine - Community
 Version:           20.10.16
 API version:       1.41
 Go version:        go1.17.10
 Git commit:        aa7e414
 Built:             Thu May 12 09:17:23 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.16
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.17.10
  Git commit:       f756502
  Built:            Thu May 12 09:15:28 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.4
  GitCommit:        212e8b6fa2f44b9c21b2798135fc6fb7c53efc16
 runc:
  Version:          1.1.1
  GitCommit:        v1.1.1-0-g52de29d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

What happened?

LocalDockerCompose does not support Docker Compose v2 (docker compose instead of docker-compose). The following error occurs:

Local Docker Compose not found. Is docker-compose on the PATH?

See

private static final String COMPOSE_EXECUTABLE = SystemUtils.IS_OS_WINDOWS

Relevant log output

No response

Additional Information

No response

@wolfey
Copy link

wolfey commented Aug 3, 2022

Yes we absolutely need this. Please also support using the docker builtin compose api via docker compose instead of docker-compose.

@eddumelendez
Copy link
Member

see #5608

@kiview
Copy link
Member

kiview commented Aug 26, 2022

I am closing this as a duplicate of #5278.

@kiview kiview closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants