3.1.0-107.gd291d85.el7
download this image like other images from docker hub
FATAL: Unable to pull docker://netdisco/netdisco: conveyor failed to get: Error reading manifest latest in docker.io/netdisco/netdisco: manifest unknown: manifest unknown
singularity pull netdisco.sif docker://netdisco/netdisco
Hi @LaHaine looks like this image doesn't have latest tag, try with docker://netdisco/netdisco:latest-do
Indeed, could singularity detect this automatically?
The error message could be clearer; something like "no matching tag"?
And what if the docker image doesn't have a tag?
Like the scratch image for instance? :
Braindump: because of the way this is implemented, it's actually hard to modify the error (most of the interaction with the docker registry happens in external code; singularity's code just sets things up so that the external code can know what to fetch). It's worth nothing that it's _singularity_ that's adding the "latest" tag if nothing is specified. Here we are following docker's behavior:
$ docker pull netdisco/netdisco
Using default tag: latest
Error response from daemon: manifest for netdisco/netdisco:latest not found
the error is the same: the tag does not exist, yet the error is taking about a missing manifest. Note the message about using default tag "latest".
I do think the error is confusing, but that's true in general for all our errors.
Suggestions to improve the error message within those constraints are welcomed.
If your image does not have a tag named latest, docker pull will complain that it cannot find the manifest. For instance, if your myimage has 2 versions in the repositories, versions 1 and 2. You might be assuming that 2 is the automatic latest. But docker pull does not take that assumption. If you run command
docker pull netdisco/netdisco:2
It should work.
Hope it helps.
I just had this error. I misspelled image name at CI-CD script and I was pulling the image that did not exist.
Just check if you have no typo and the image is named correctly
Go to docker hub and open the repo
https://hub.docker.com/r/username/repo
open the tab tags, there you will see all available version tags. You can also copy the correct pull command from there
Go to docker hub and open the repo
https://hub.docker.com/r/username/repo
open the tab tags, there you will see all available version tags. You can also copy the correct pull command from there
This works for me
Most helpful comment
The error message could be clearer; something like "no matching tag"?