-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Docker-compose V2 for aarch64 doesn't find local images #8804
Comments
Hi, I am facing similar issue using buildkit with the docker version higher than 5:19.03.15 The image arm64v8/<image_name>:latest exist in local docker images.
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed |
Oh - it would be the specific architecture I picked? I just tried to redo what I was doing for x86 for arm64, and it fails to use the local file - I thought it might have been a cross-compile issue. The arm base image does run, and I can do
|
Do you have the same issue running Compose v2.1.x allows to use the "classic" docker builder, by disabling buildkit ( |
I will give it a try again and report back later today, but my untrustworthy memory says I did manage to run the scenario with docker build normally. |
I wasn't using builder specifically. This is project I was working on; it's just some bat files and docker scripts. mk-arm was the variant to build against an arm version. I could do mk-arm.bat in |
Hi, I tested this with DOCKER_BUILDKIT=0 and it seems to be working, so this confirm the issue is with buildkit for arm64 builds. Is there any workaround suggestion ? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still having some issues with this as well... Also, should the focus of changing/effort be on the |
This issue has been automatically marked as not stale anymore due to the recent activity. |
This is still an issue, it makes developing base images and testing them with docker-compose projects a bit annoying. But for now running |
This is a major issue, genuinely surprised it's still ongoing more than a year later - is there some fix for this (other than DOCKER_BUILDKIT=0 which is so slow as to be unworkable) that I'm not aware of? |
@nickcoad Do you have the same issue running DOCKER_BUILDKIT=1 docker build -f A.Dockerfile . && docker build -f B.Dockerfile . ? I understand the frustration with this issue, but without more inputs, it's hard for me to diagnose... |
Hey @deleugpn @georgeswani @d3x0r @jasonmccallister @toabi @nickcoad |
i was trying yo made a docker i386 over and amd64 with docker build -t name/image:name-i386 . -f - << EOF FROM alpine ... etc etc EOF later docker run just said no manifiest and no image found.. i am working all locally i foun this issue by google .. i used DOCKER_DEFAULT_PLATFORM env |
I can't also reproduce this anymore. I am closing this issue. If you encounter again this issue please open a new one. |
Description
When running
docker-compose build
using version 2 on an arm64 machine, the Dockerfile being built does not find local images.Steps to reproduce the issue:
docker-compose build service-a && docker-compose build service-b
.Describe the results you received:
Describe the results you expected:
my-org/my-base-image
should be loaded from the local repository of images built. This work fine on a x86 computer.Additional information you deem important (e.g. issue happens only occasionally):
Issue only happens on aarch64 binary of docker-compose
Output of
docker compose version
:Output of
docker info
:Additional environment details:
EC2 instance t4g on AWS.
The text was updated successfully, but these errors were encountered: