docker inspect results into Error: No such object even if image exists

7.8k Views Asked by At

I've a docker image pushed to docker registry and it can be pulled with -

docker pull <ip>:5000/test:1

THis indicates that

the image exists but if it is inspected with -

docker inspect <ip>:5000/test:1

It results into an error -

[]
Error: No such object: <ip>:5000/test:1

WHat could be reason of image not being inspected even if it exists?

1

There are 1 best solutions below

3
On

docker inspect command was resulting into failure as I hadn't completed docker pull completely. In order to succeed docker inspect, you first need to pull image completely.