You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
Using Docker Desktop on macOS with M1 (ARM64) processor:
docker run --rm -p 5050:5050 ghcr.io/dcermak/container-layer-sizes:latest
We see the following error logged to stderr at startup:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Going via the 'Container registry' using 'prom/prometheus:latest' allows me to retrieve the available platforms. I have chosen both arm64 and amd64, and the image is downloaded. As soon as the download and unpack is complete, I get the following error:
Error occurred while pulling the image, got error: writing blob: adding layer with blob "sha256:...": ApplyLayer exit status 1 stdout: Error while loading /var/lib/containers/storage/vfs/dir/...: Permission denied stderr:
I have also tried running the container using the following, with no change in behaviour:
docker run -u root --rm -p 5050:5050 ghcr.io/dcermak/container-layer-sizes:latest
docker run --privileged -u root --rm -p 5050:5050 ghcr.io/dcermak/container-layer-sizes:latest
docker run --cap-add=all --rm -p 5050:5050 ghcr.io/dcermak/container-layer-sizes:latest
docker run --security-opt apparmor=unconfined --rm -p 5050:5050 ghcr.io/dcermak/container-layer-sizes:latest
I have also tried using a local image (first using docker save ... and then bind-mounting the directory it was saved to), with the same result.
The text was updated successfully, but these errors were encountered:
Thanks for giving the analyzer a try @pythiankerr!
I have tried to enable building the container for multiple architectures in #162. Could you please try to pull the container image from ghcr.io again and see if it works for you?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using Docker Desktop on macOS with M1 (ARM64) processor:
We see the following error logged to stderr at startup:
Going via the 'Container registry' using 'prom/prometheus:latest' allows me to retrieve the available platforms. I have chosen both arm64 and amd64, and the image is downloaded. As soon as the download and unpack is complete, I get the following error:
I have also tried running the container using the following, with no change in behaviour:
I have also tried using a local image (first using
docker save ...
and then bind-mounting the directory it was saved to), with the same result.The text was updated successfully, but these errors were encountered: