摘要: 提示:接上一篇 9、后台启动容器 后台启动容器也叫启动守护式容器。 命令:docker run -d 镜像ID或镜像名 查看本地镜像。 [root@192 ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE centos latest 300 阅读全文
posted @ 2022-03-15 17:18 繁华似锦Fighting 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 有镜像才能创建容器,这是根本前提。 我们下载一个CentOS镜像作为演示。 [root@192 ~]# docker pull centos Using default tag: latest latest: Pulling from library/centos 7a0437f04f83: Pul 阅读全文
posted @ 2022-03-15 11:06 繁华似锦Fighting 阅读(765) 评论(0) 推荐(2) 编辑