Closed elamandeep closed 6 months ago
Any update on this issue?
@bsousaa any update on this issue?
It seem like your docker is not running. What is your OS : Mac or Windows ? I suggest:
Let me know if anything go wrong
It seem like your docker is not running. What is your OS : Mac or Windows ? I suggest:
1. Start Docker daemon from this guide: * For Window: https://stackoverflow.com/questions/44169435/how-to-start-the-docker-daemon * For Mac/Ubuntu: sudo systemctl start docker 2. Authenticate for Docker
Let me know if anything go wrong
After installing a new version of docker, Everything is working great
Description
I was trying to build an image for my Node app. But I'm stuck at this error on running the build command. All my docker commands are working properly.
COPY package.json /app/ COPY src /app/
WORKDIR /app
RUN npm install
CMD [ "node" , "server.js"]
[internal] load metadata for docker.io/library/node:20:
Dockerfile:1
1 | >>> FROM node:20 2 |
3 | COPY package.json /app/
ERROR: failed to solve: node:20: error getting credentials - err: exit status 1, out:
error getting credentials - err: exit status 1, out:
exit status 2: gpg: decryption failed: No secret key``docker info
Diagnostics ID
24f767bb-efd2-4b18-afd2-5bca2d5323c3/20231008153001
Additional Info
When i run docker version command. I'm getting errors.
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?