docker build -t getting-started . failed
See original GitHub issueOS: MacBook Pro (13-inch, M1, 2020)
when i follow https://docs.docker.com/get-started/02_our_app/ to learn build the app’s container image.
type docker build -t getting-started . on terminal,and occur the error:
in this time,my dockerfile is :
and change RUN apk add --no-cache python2
to RUN apk add --no-cache python3
the error changed:
i don’t kown how to solve it,I would appreciate your assistance with this matter
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:10
Top Results From Across the Web
"docker build -t getting-started ." failed · Issue #221 - GitHub
I am doing the tutorial part Using Docker Compose on Windows 10 20H2. I run docker build -t getting-started . on step 2...
Read more >Unable to build a docker image following Docker Tutorial
I should have run the docker build -t getting-started . command from the /app folder where my newly-created Dockerfile is located. In my...
Read more >Docker build not working: rpc error (PROTOCOL_ERROR)
I've been trying to build an image from my Dockerfile but I run into an error when i run docker build . The...
Read more >Building a Docker image - Backstage.io
How to build a Backstage Docker image for deployment. ... then the `tar` command below will fail: `can't create directory 'packages/': Permission denied`....
Read more >A Docker Tutorial for Beginners
The getting started guide on Docker has detailed instructions for setting up Docker ... If you haven't done that yet, please go ahead...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you so much for your reply, I update my Docker desktop to 4.9.0(80466), and then run docker build -t getting-started . again, it works. Dockerfile:
2021 app mi pro