首页 > 代码库 > [Docker] Download and Remove Docker Images

[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 versiondocker pull mongo:3.0.0   // download the version 3.0docker pull mhart/alpine-node  // download libaray from user mhart

 

View all images:

docker images

 

Delete images:

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

 

[Docker] Download and Remove Docker Images