-
Notifications
You must be signed in to change notification settings - Fork 499
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
Error load metadata for docker.io/library/alpine:3.12 with v3.0.1 #476
Comments
Maybe related:
|
Anything on this? |
Also getting this error. Freshly installed docker on WSL2 and this error started happening after a few hours:
The
Docker Version:
Docker info:
|
Worked for me:
|
Thank you let me post back on this later in the day.
…On Sun, Jan 17, 2021, 2:37 PM Aleksandr Marakulin ***@***.***> wrote:
Worked for me:
1. Create an account on 'https://hub.docker.com/'
2. Run in terminal: 'docker login'
3. Authorized in terminal
4. Try run docker build again
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#476 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGFBRZBVB64UKZTW4IFFER3S2NC75ANCNFSM4U35J5HQ>
.
|
Worked for me right away after this. |
Happens to me today. |
Worked for me:
|
Try 'sudo' if you are using linux |
This worked for me, thanks! |
Docker desktop 20.10.5 on WSL2, removing |
|
This works on me too. Thanks! :) |
For the ones for who none of the solutions from the above work, you could try this:
This worked for me |
For me, it worked only after I changed: |
Or even better, |
Using WSL2, restarting docker4windows, restarting the wsl instances would not work. |
Docker Desktop update and restart worked for me. It maybe related about Docker desktop version - docker hub communication trouble |
try sudo on macOS as well |
This worked for me. Thanks. |
If nothing above help, you can check |
Worked for me too 🥰🥰 |
Update: https://stackoverflow.com/questions/64382812/docker-has-the-same-error-regardless-of-what-i-try-to-build-windows-10 helped me get rid of the issue. |
This works for me, I deactived buildkit following https://stackoverflow.com/a/64466563 I installed Docker desktop on Windows 10 Edu with Debian for WSL2. I wanted to build the app of the tutorial https://docs.docker.com/get-started/02_our_app/ with a terminal connected to my Debian. I got the error of this issue when I was on Debian, but not on Windows with the powershell. I still don't know why it has worked. |
remove un-reachable registry-mirrors works for me. |
Can you elaborate on where can you configure registry mirrors a little bit? |
Maybe is getting the wrong platform to build. Specify it in the command: |
Hello, the commands below worked for me. export DOCKER_BUILDKIT=0 |
this workd for me . M1 Macbook |
In this case you did not download alpine:3.12 image, For working your code you should download alpine:3.12 image from docker hub, |
I had this problem today and this solution worked for me. |
-> Tried removing docker config file. [+] Building 3.7s (4/4) FINISHED
|
@anurag-sachan I think the docker manifest inspect docker.io/library/java:8
no such manifest: docker.io/library/java:8 |
Yeah i tried different ways, so it works with docker pull openjdk now & the Dockerfile in SpringApplication needs to use From:openjdk instead of Java |
Be aware that the |
Yup, I am using the same. Thanks for the help! |
@daneshwari-858 It looks like you used COPY apk add --update reactjs You probably meant to use RUN apk add --update reactjs When using RUN apk add --no-index reactjs |
![Screenshot_2022-11-15-18-01-14-49_c37d74246d9c81aa0bb824b57eaf7062](https://user-images.githubusercontent.com/102403971/201920335-0f3cf636-2b23-4444-aa1a- How can I do this bit confusing. Donno coding please help me |
@daneshwari-858 you need to edit your Dockerfile (usually the file is named |
@daneshwari-858 sorry, but that's really out of scope for this ticket; the "build" section in the docker documentation would be a starting point to understand how "docker build" works; https://docs.docker.com/build/, but otherwise, I see from your earlier screenshot that you were following a training from, and it's better to contact them to improve the training material if it's not clear. |
this helped me how ever I could log in right away so I google again some guy said to delete "credsStore" : "desktop", inside "~/.docker/config.json" I am working on MacOS and using VM linux ubuntu |
My error was:
And thats what fixed it for me. |
This method worked for me! |
work for me |
save my ass! thanks |
thanks, worked for me |
This would probably work for 90% of people. |
That does not look related to this thread and I have the same behavior in cli and new build UI: FROM golang:1.17 as base
FROM build as dev
Feel free to open a new issue if that's not the case for you. I'm locking this issue since this has been solved in Docker Desktop. |
This issue is specific to docker buildkit using --output command with docker build.
Using DOCKER_BUILDKIT=1
Same dockerfile works fine with v2.5.0.1
Expected behavior
No error
Actual behavior
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 3.30kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> ERROR [internal] load metadata for docker.io/library/alpine:3.12 4.5s
=> [internal] load metadata for docker.io/library/golang:1.15-alpine3.12 0.0s
=> [auth] library/alpine:pull token for registry-1.docker.io 0.0s
Information
Steps to reproduce the behavior
Dockerfile (just example)
Command : docker build --target test --output type=local,dest=$(pwd)/out --platform local .
The text was updated successfully, but these errors were encountered: