I had made my own Docker Image that is a simple react app and push on to the docker hub. Now I am trying to pull my image in system then its shows me an error "Error response from daemon: manifest for abhishek8054/token-app:latest not found: manifest unknown: manifest unknown". Is I am something doing wrong. my Dockerfile code is:
FROM node:16-alpine
WORKDIR /app/
COPY package*.json .
RUN npm install
COPY . .
EXPOSE 3000
CMD ["npm","start"]
And I made image from the following command:
docker image build -t abhishek8054/token-app:latest .
And pushed my image from following command:
docker push abhishek8054/token-app:latest
And I am pulling again from the following command
docker pull abhishek/8054/token-app
And it gives me an error:
Error response from daemon: manifest for abhishek8054/token-app:latest not found: manifest unknown: manifest unknown
CodePudding user response:
Try using the below command to pull the docker image. The issue which you are facing is that u have pushed the image with the name abhishek8054/token-app:latest so if you need to pull the same image you will need to pull using the same image name and tag.
docker pull abhishek8054/token-app:latest
Its not mandatory to have latest tag by default if you have not mentioned any tag docker pulls the latest image from the container registry