skip to Main Content

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


  1. 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

    Login or Signup to reply.
  2. 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

    docker pull repository/image_name:latest 
    docker pull repository/image_name:<version>
    
    Login or Signup to reply.
  3. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search