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

[Bug]: docker/compose:1.29.2 image is amd64 and requires QEMU emulator to work on Arm #5524

Closed
cer opened this issue Jun 30, 2022 · 3 comments
Labels

Comments

@cer
Copy link

cer commented Jun 30, 2022

Module

Core

Testcontainers version

1.16.2

Using the latest Testcontainers version?

Yes

Docker version

Client: Docker Engine - Community
 Version:           20.10.14
 API version:       1.41
 Go version:        go1.16.15
 Git commit:        a224086
 Built:             Thu Mar 24 01:47:20 2022
 OS/Arch:           linux/arm64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.14
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.15
  Git commit:       87a90dc
  Built:            Thu Mar 24 01:45:39 2022
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.4.3
  GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
 runc:
  Version:          1.0.0-rc92
  GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

What happened?

2022-06-30 16:54:03.424 ERROR 9129 --- [    Test worker] ]]>&#x1f433;<![CDATA[ [docker/compose:1.29.2]               : Log output from the failed container:
standard_init_linux.go:219: exec user process caused: exec format error

Requires installation of emulators:

docker run --privileged --rm tonistiigi/binfmt --install amd64

Relevant log output

No response

Additional Information

No response

@cer cer added the type/bug label Jun 30, 2022
@cer cer changed the title [Bug]: docker/compose:1.29.2 image is amd64 and requires QEMU emulator [Bug]: docker/compose:1.29.2 image is amd64 and requires QEMU emulator to work on Arm Jun 30, 2022
@kiview
Copy link
Member

kiview commented Jul 1, 2022

As I see it, there aren't any ARM images available in the upstream, correct?
https://hub.docker.com/r/docker/compose

If this is the case, maybe try to raise an issue in the upstream. If there are images and I simply did not find them, can you point me to them please?

@glours
Copy link

glours commented Jul 4, 2022

Please use the official docker image which embeds the latest version of Compose.
You can use Compose with it easily

> docker run -v /var/run/docker.sock:/var/run/docker.sock --rm -it docker compose version
Docker Compose version v2.6.1

@eddumelendez
Copy link
Member

#5608 adds support to compose v2 which will be released in the next version.

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

4 participants