I had made my own Docker image that is a simple react app and pushed it onto the docker hub.
Now I am trying to pull my image in system then it shows me an error
Error response from daemon: manifest for abhishek8054/token-app:latest not found: manifest unknown: manifest unknown".
I am doing something 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 the image from the following command:
docker image build -t abhishek8054/token-app:latest .
And pushed my image with the following command:
docker push abhishek8054/token-app:latest
And pulled it again with the following command:
docker pull abhishek/8054/token-app
And it gives me the error above.
3
Answers
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.
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
The error means that docker is not able to find the image version mentioned to pull from. Please try changing the version to use latest or specific version
That’s because there seems to be no image tagged as latest at this point
you can use the Deezer/spleeter:3.8 image for now. In the near future, they’ll use this as the latest