docker一些基础的命令

[root@localhost ~]#docker search centos    #查看查看镜像

[root@localhost ~]#docker pull centos      #下载镜像

[root@localhost ~]#docker run -it centos:latest /bin/bash    #运行指定容器

[root@localhost ~]#docker ps          #查看当前正在运行的容器

[root@localhost ~]#docker images        #显示本机上的镜像

  

猜你喜欢

转载自www.cnblogs.com/kjjmj/p/11462066.html