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.
原文:http://www.cnblogs.com/sansna/p/6004956.html