[Docker] Download and Remove Docker Images

Learn the basics of downloading and pulling Docker images from Docker Hub. Learn the difference between default tags and version specific tags. Also learn how to display all images, and different ways to remove images.

 

Download:

docker pull mongo            // download the latest version
docker pull mongo:3.0.0   // download the version 3.0
docker pull mhart/alpine-node  // download libaray from user mhart

 

View all images:

docker images

 

Delete images:

docker rmi mongo
docker rmi mogno:3.0.0
docker rmi d508   // delete according to id, id doesn't need to be full name unless it is unqiue

 

posted @ 2016-12-02 01:50  Zhentiw  阅读(346)  评论(0编辑  收藏  举报