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

Docker: Usage instruction

时间:2016-10-27 19:52:06      阅读:210      评论:0      收藏:0      [点我收藏+]

标签:ice   docker   pre   machine   ref   started   service   use   nes   

Install docker from official site, in windows.

or install docker from repo as official site told, in linux..

after installation, we run by: (windows service, linux daemon started)

docker run hello-world/centos/..

where the names can be found here.

most used args are -it, --rm, --read-only.., -p 80:80, --ip ..

docker ps -sa
# docker --help
# docker command --help

to view history docker machines.

For example, common download size of centos is 80MB, less than 0.1GB, light.

Docker: Usage instruction

标签:ice   docker   pre   machine   ref   started   service   use   nes   

原文地址:http://www.cnblogs.com/sansna/p/6004956.html

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