“Docker”的版本间的差异

来自tomtalk
跳转至: 导航搜索
资料
Tom讨论 | 贡献
资料
第16行: 第16行:
 
=资料=
 
=资料=
  
Docker常用命令 http://www.tuicool.com/articles/7V7vYn
+
[Docker常用命令 http://www.tuicool.com/articles/7V7vYn]
  
 
如何编写最佳的Dockerfile https://blog.fundebug.com/2017/05/15/write-excellent-dockerfile/
 
如何编写最佳的Dockerfile https://blog.fundebug.com/2017/05/15/write-excellent-dockerfile/

2018年1月2日 (二) 07:55的版本

启动docker

su                      # 要用root权限帐户启动
service docker start  
docker info    
 
docker images           # 查看镜像列表  
docker pull image_name  # 下载image
docker rmi image_name   # 删除一个或者多个镜像
 
docker run image_name   # 运行镜像
docker ps               # 列出当前所有正在运行的container

资料

[Docker常用命令 http://www.tuicool.com/articles/7V7vYn]

如何编写最佳的Dockerfile https://blog.fundebug.com/2017/05/15/write-excellent-dockerfile/