Skip to content
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: failed to solve: error getting credentials - err: exit status 1, out: `` #434

Open
fukemy opened this issue Apr 4, 2024 · 0 comments

Comments

@fukemy
Copy link

fukemy commented Apr 4, 2024

Please help I am stucking at build docker file

vedaxm1@VedaXs-MacBook-Pro getting-started-app % sudo docker build -t getting-started .
Password:
[+] Building 0.0s (1/1) FINISHED                                                            docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                        0.0s
 => => transferring dockerfile: 31B                                                                         0.0s
ERROR: failed to solve: the Dockerfile cannot be empty

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/pi400i08slfpeiilxitjv32t9
vedaxm1@VedaXs-MacBook-Pro getting-started-app % sudo docker build -t getting-started .
[+] Building 0.9s (1/2)                                                                     docker:desktop-linux
[+] Building 1.1s (2/2) FINISHED                                                            docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                        0.0s
 => => transferring dockerfile: 181B                                                                        0.0s
 => ERROR resolve image config for docker.io/docker/dockerfile:1                                            1.0s
------
 > resolve image config for docker.io/docker/dockerfile:1:
------
Dockerfile:1
--------------------
   1 | >>> # syntax=docker/dockerfile:1
   2 |     
   3 |     FROM node:18-alpine
--------------------
ERROR: failed to solve: error getting credentials - err: exit status 1, out: ``

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/ozvmmc2zq3qz5njj8kpth66p8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant