[root@localhost~]# yum install docker
[root@localhost~]# systemctl start docker.service
[root@localhost~]# systemctl enable docker.service
[root@localhost~]# docker pull centos
[root@localhost~]# docker images centos
[root@localhost~]# docker run -i -t centos /bin/bash
[root@bd1a482d44f5 /]#
[root@localhost~]# exit
转载自http://www.jianshu.com/p/f72079d50c7d
新闻热点
疑难解答