码迷,mamicode.com
首页 > 其他好文 > 详细

[Docker] Download and Remove Docker Images

时间:2016-12-02 07:50:15      阅读:209      评论:0      收藏:0      [点我收藏+]

标签:bar   tags   different   3.0   mon   specific   lib   test   version   

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

 

[Docker] Download and Remove Docker Images

标签:bar   tags   different   3.0   mon   specific   lib   test   version   

原文地址:http://www.cnblogs.com/Answer1215/p/6124298.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!