testcontainers-java
testcontainers-java copied to clipboard
[Bug]: docker/compose:1.29.2 image is amd64 and requires QEMU emulator to work on Arm
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] ]]>🐳<![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
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?
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
#5608 adds support to compose v2 which will be released in the next version.