When I run docker ps
I can see the following image running:
6ec29fa046f0
But when I do docker run -i 6ec29fa046f0
:
Unable to find image '6ec29fa046f0:latest' locally
Pulling repository docker.io/library/6ec2af9064f0
docker: Error: image library/6ec29fa046f0:latest not found.
So how can I see this image in docker ps
but I can't run it locally?
What you are seeing is the identifier of a running container started from an image.
You can see the images by running:
docker images
You can also check what image is that container using by issuing:
docker inspect <identifier>
When you are using docker ps
you can see the name or ID of the image.
In your case, this is ID of the image.
To find the name of the image you can try to use docker images | grep "your_id"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With