返回总目录页
摘要: 运行容器 退出快捷键 ctrl+p ctrl+q 查看容器 [root@mcw1 ~/mcwdocker]$ docker run centos pwd #运行容器后面接命令执行 / [root@mcw1 ~/mcwdocker]$ docker run centos ls / #运行容器后面接命令 阅读全文
posted @ 2021-12-26 23:24 马昌伟 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 使用官方安装脚本自动安装 安装命令如下: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 也可以使用国内 daocloud 一键安装命令: curl -sSL https://get.daocloud.io/doc 阅读全文
posted @ 2021-12-26 23:19 马昌伟 阅读(956) 评论(0) 推荐(0) 编辑
摘要: hello-world 最小的镜像 从Docker Hub 下载这个镜像 [root@mcw1 /application]$ docker pull hello-worldUsing default tag: latestlatest: Pulling from library/hello-worl 阅读全文
posted @ 2021-12-26 23:16 马昌伟 阅读(514) 评论(0) 推荐(0) 编辑
博主链接地址:https://www.cnblogs.com/machangwei-8/