docker some basic commands

[root @ localhost ~] #docker search centos # View View Mirror 

[root @ localhost ~] #docker pull centos # download the image 

[root @ localhost ~] #docker run -it centos: latest / bin / bash # operation specified container 

[ root @ localhost ~] #docker ps # view the container currently running 

[root @ localhost ~] #docker images # image displayed on the unit

  

Guess you like

Origin www.cnblogs.com/kjjmj/p/11462066.html