Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pulling Docker Images - Manifest not found

I'm trying to download a tagged docker image

docker pull clkao/postgres-plv8:10-2 

and, in a compose file,

  postgres:     image: clkao/postgres-plv8:10-2 

But receive a manifest not found exception.

Unless I'm mistaken, that tag exists in Docker Hub, however I notice that it doesn't appear on the tags list.

Am I doing something wrong? Or is this perhaps an issue with Docker Hub or the way that repo has been set up?

If it isn't 'my fault', what's a recommendation to move forward? Create my own Dockerfile perhaps?

like image 894
Damien Sawyer Avatar asked May 23 '18 00:05

Damien Sawyer


People also ask

How do I inspect a docker image manifest?

You can view any image's manifest using the docker manifest inspect command. This works with both local images and images stored on a remote registry such as Docker Hub. The manifest is a list of layers included in the image. You can see the hash of the layer's content and its overall size.

What is manifest in docker image?

A manifest list is a list of image layers that is created by specifying one or more (ideally more than one) image names. It can then be used in the same way as an image name in docker pull and docker run commands, for example.

Do I need to login to Docker Hub to pull the images?

Run docker run <your_username>/my-private-repo to test your Docker image locally. You must be signed in to Docker Hub through Docker Desktop or the command line, and you must also name your images correctly, as per the above steps.

How do u get images from private repositories in manifest file?

If you need more private repositories for your user account, upgrade your Docker Hub plan from your Billing Information page. Once the private repository is created, you can push and pull images to and from it using Docker. Note: You need to be signed in and have access to work with a private repository.


2 Answers

You might also try docker pull -a <image>. The -a will pull all versions of that image, which at least lets you know what is there.

(This is less useful if you really need a specific version, but helped me when I tried to pull an image that for some reason did not have a 'latest' tag.)

Edit: This is actually a really bad idea, since it will pull down the entire history, which for many repositories could be many GB. Better to go look at the repository site and see what tag you want. Note to self: don't post answers when you are tired. :-(

like image 184
Denise Draper Avatar answered Sep 20 '22 16:09

Denise Draper


You get the error message because there exist no tag with "10-2".
You can try to figure out why and contact the repository owner or you can try to build your own one.

like image 32
GE ownt Avatar answered Sep 21 '22 16:09

GE ownt