I was running into this error when attempting to build my Dockerfiles based on arm64v8/ubuntu:21.04 and arm32v7/ubuntu:21.04. After upgrading my runc version to 1.0.1, the error went away but only for arm64v8/ubuntu:21.04. The Dockerfile based on arm32v7/ubuntu:21.04 still encountered the error. In both cases, I am running the build on an AArch64 device, so it's using emulation for the arm32v7/ubuntu:21.04 scenario. It would appear that it's still broken for that scenario?
The repro is very simple, just run the following command on an AArch64 device: "docker run --rm arm32v7/ubuntu:21.04 apt-get update". It will output the following:
Unable to find image 'arm32v7/ubuntu:21.04' locally
21.04: Pulling from arm32v7/ubuntu
48989deb32eb: Pulling fs layer
48989deb32eb: Verifying Checksum
48989deb32eb: Download complete
48989deb32eb: Pull complete
Digest: sha256:b61c1421a092dd4ffc0b14a6b683513d775d5daa275598c74cd34090a0424a19
Status: Downloaded newer image for arm32v7/ubuntu:21.04
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
According to https:/ /stackoverflow. com/questions/ 66319610/ gpg-error- in-ubuntu- 21-04-after- second- apt-get- update- during- docker- build, this bug fix is supposed to fix the issue of getting the following error when running "apt-get update" in an Ubuntu 21.04 container: "W: GPG error: http:// ports.ubuntu. com/ubuntu- ports hirsute InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed".
I was running into this error when attempting to build my Dockerfiles based on arm64v8/ ubuntu: 21.04 and arm32v7/ ubuntu: 21.04. After upgrading my runc version to 1.0.1, the error went away but only for arm64v8/ ubuntu: 21.04. The Dockerfile based on arm32v7/ ubuntu: 21.04 still encountered the error. In both cases, I am running the build on an AArch64 device, so it's using emulation for the arm32v7/ ubuntu: 21.04 scenario. It would appear that it's still broken for that scenario?
The repro is very simple, just run the following command on an AArch64 device: "docker run --rm arm32v7/ ubuntu: 21.04 apt-get update". It will output the following:
Unable to find image 'arm32v7/ ubuntu: 21.04' locally b61c1421a092dd4 ffc0b14a6b68351 3d775d5daa27559 8c74cd34090a042 4a19 ubuntu: 21.04
21.04: Pulling from arm32v7/ubuntu
48989deb32eb: Pulling fs layer
48989deb32eb: Verifying Checksum
48989deb32eb: Download complete
48989deb32eb: Pull complete
Digest: sha256:
Status: Downloaded newer image for arm32v7/
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http:// ports.ubuntu. com/ubuntu- ports hirsute InRelease [269 kB] ports.ubuntu. com/ubuntu- ports hirsute-updates InRelease [115 kB] ports.ubuntu. com/ubuntu- ports hirsute InRelease ports.ubuntu. com/ubuntu- ports hirsute-backports InRelease [101 kB] ports.ubuntu. com/ubuntu- ports hirsute-updates InRelease ports.ubuntu. com/ubuntu- ports hirsute-security InRelease [110 kB] ports.ubuntu. com/ubuntu- ports hirsute-backports InRelease ports.ubuntu. com/ubuntu- ports hirsute-security InRelease ports.ubuntu. com/ubuntu- ports hirsute InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed ports.ubuntu. com/ubuntu- ports hirsute InRelease' is not signed. ports.ubuntu. com/ubuntu- ports hirsute-updates InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed ports.ubuntu. com/ubuntu- ports hirsute-updates InRelease' is not signed. ports.ubuntu. com/ubuntu- ports hirsute-backports InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed ports.ubuntu. com/ubuntu- ports hirsute-backports InRelease' is not signed. ports.ubuntu. com/ubuntu- ports hirsute-security InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed ports.ubuntu. com/ubuntu- ports hirsute-security InRelease' is not signed.
Get:2 http://
Err:1 http://
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Get:3 http://
Err:2 http://
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Get:4 http://
Err:3 http://
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Err:4 http://
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Reading package lists...
W: GPG error: http://
E: The repository 'http://
W: GPG error: http://
E: The repository 'http://
W: GPG error: http://
E: The repository 'http://
W: GPG error: http://
E: The repository 'http://
Here's the docker version info for the host machine:
Client: b559b42c7fde6c6 5a2909f7c5
Version: 20.10.7
API version: 1.41
Go version: go1.16.4
Git commit: f0df35096d5f5e6
Built: Sat Sep 11 15:09:09 2021
OS/Arch: linux/arm64
Context: default
Experimental: true
Server: Docker Engine - Community 3442421b0f60afa c609f950a3
Engine:
Version: 20.10.8
API version: 1.41 (minimum version 1.12)
Go version: go1.16.6
Git commit: 75249d8
Built: Fri Jul 30 19:53:13 2021
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.4.9
GitCommit: e25210fe30a0a70
runc:
Version: 1.0.1
GitCommit: v1.0.1-0-g4144b63
docker-init:
Version: 0.19.0
GitCommit: de40ad0