Unable to create docker image using git bash (windows 10) created following Dockerfile
FROM debian:sid
RUN apt-get -y update
RUN apt-get install nano
CMD ["bin/nano", "/tmp/notes"]
$ docker build -t example .
Get Error:
$ docker build -t example .
[+] Building 0.0s (3/3) FINISHED
=> [internal] load build definition from Dockerfile
=> => transferring dockerfile: 31B
=> [internal] load .dockerignore
=> => transferring context: 2B
=> ERROR [internal] load metadata for docker.io/library/debian:sid
------
> [internal] load metadata for docker.io/library/debian:sid:
------
failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = failed to fetch oauth token: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fdebian%3Apull&service=registry.docker.io: dial tcp 3.211.199.249:443: i/o timeout
please advise, thank you
The error mentions failed to fetch oauth token
Have you tried to run
docker login
in your terminal prior to running the build command?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With