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

[armv6hl] docker: layers from manifest don't match image configuration. #2

Closed
glensc opened this issue May 28, 2023 · 2 comments
Closed

Comments

@glensc
Copy link

glensc commented May 28, 2023

trying to give reproducer for #1 got such errors

macos m1:

✖ docker run --rm -it jpalus/pld-linux-armv6hl bash
Unable to find image 'jpalus/pld-linux-armv6hl:latest' locally
latest: Pulling from jpalus/pld-linux-armv6hl
d51368cc53f4: Already exists 
docker: layers from manifest don't match image configuration.
See 'docker run --help'.

raspberry pi 4 armv7l 32bit kernel

$ docker run --rm -it jpalus/pld-linux-armv6hl bash
Unable to find image 'jpalus/pld-linux-armv6hl:latest' locally
latest: Pulling from jpalus/pld-linux-armv6hl
d51368cc53f4: Pull complete 
docker: layers from manifest don't match 

however this works fine:

# https://github.com/jpalus/pld-linux-arm
FROM jpalus/pld-linux-armv6hl AS base
docker build -t app .
docker run --rm -it app bash
glen@acai:~/scm/glen/comics-mailer$ docker build -t app .
[+] Building 71.5s (7/7) FINISHED                                                                              
 => [internal] load build definition from Dockerfile                                                      0.0s
 => => transferring dockerfile: 740B                                                                      0.0s
 => [internal] load .dockerignore                                                                         0.1s
 => => transferring context: 2B                                                                           0.0s
 => [internal] load metadata for docker.io/jpalus/pld-linux-armv6hl:latest                                0.6s
 => [base 1/2] FROM docker.io/jpalus/pld-linux-armv6hl@sha256:e2ec9dfe9a0029be163214758103e7a1b037436dea  0.0s
 => CACHED [base 2/2] RUN <<eot (set -xeu...)                                                             0.0s
 => [build 1/1] RUN  --mount=type=cache,id=poldek,target=/var/cache/poldek  --mount=type=cache,id=packa  58.2s
 => exporting to image                                                                                   12.5s
 => => exporting layers                                                                                  12.5s
 => => writing image sha256:6525858e5ccae89c9c7d1720f7494d270b24412c89ce1a4c922ca3b2439c00c9              0.0s 
 => => naming to docker.io/library/app                                                                    0.0s 
@jpalus
Copy link
Owner

jpalus commented May 28, 2023

Thanks, created containers/podman#18716 for this.

@jpalus jpalus closed this as completed in d59d6fd May 30, 2023
@jpalus
Copy link
Owner

jpalus commented May 30, 2023

20230530 tag should be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants