I can't find my Docker image after building it

I'm new to Docker, so please allow me to describe the steps that I did. I'm using Docker (not Docker toolbox) on OS X. I built the image from Dockerfile using the following command
sudo docker build -t myImage .

Docker confirmed that building was successful.
Successfully built 7240e.....

However, I can't find the image anywhere. I looked at this question, but the answer is for Docker toolbox, and I don't have a folder /Users/<username>/.docker as suggested by the accepted answer.


You would be able to see your docker images by the below command:

docker images

And to check which all containers are running in docker:

docker ps -a

Command to list the docker images is :

docker images

The default docker images will show all top level images, their repository and tags, and their size. An image will be listed more than once if it has multiple repository names or tags.

Click here for the screenshot for more details


To get list of Images

docker image ls

or

docker images

链接地址: http://www.djcxy.com/p/18228.html

上一篇: 我如何分配端口映射到现有的Docker容器?

下一篇: 构建它后,我找不到我的Docker镜像