Open
Description
I have done the following
- I have searched the existing issues
- If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
> cat Dockerfile1
FROM alpine:latest
CMD ["echo", "Hello from the trivial Docker image!"]
> container build -t trivial-image -f Dockerfile1 .
# ...
Successfully built trivial-image:latest
> cat Dockerfile2
FROM trivial-image
CMD ["echo", "Hello from the other trivial Docker image!"]
> container build -t trivial-image2 -f Dockerfile2 .
[+] Building 0.0s (0/1)
=> [resolver] fetching image...docker.io/library/trivial-image 0.0s
Error: internalError: "HTTP request to https://registry-1.docker.io/v2/library/trivial-image/manifests/latest failed with response: 401 Unauthorized. No credentials found for host registry-1.docker.io"
Current behavior
container
first looks for the image on docker.io instead of locally.
Expected Behavior
First check for local images.
Environment
- OS: macOS 15.5 (24F74)
- Xcode: 26.0 beta (17A5241e)
- Container: 555dbfc (main as of writing)
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels