摘要:        
参考自 https://www.runoob.com/docker/docker-command-manual.html 容器生命周期管理 run start/stop/restart kill rm pause/unpause create exec 容器操作 ps inspect top att    阅读全文
posted @ 2019-08-21 12:28
MartinEDM
阅读(121)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1. 从docker 镜像仓库获取镜像 docker pull [镜像名] 从 docker hub 中查看版本 获取 特定版本 docker pull centos 7.6.1801 2. 查看本地 的镜像 docker image ls 或 docker images 3. 虚悬镜像 <none    阅读全文
posted @ 2019-08-21 11:22
MartinEDM
阅读(174)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1. 创建并运行 一个容器 docker run -it --rm centos:latest bash run 运行容器 -it 以交互方式运行容器 --rm 退出容器后删除容器 centos:latest 基于 镜像启动容器 bash 命令 交互式shell 2. 退出容器 exit 3. 查看    阅读全文
posted @ 2019-08-21 11:22
MartinEDM
阅读(105)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号