2019年7月19日
摘要: docker run -d --name node2 -e "container=docker" --privileged=true new/centos_sshd /usr/sbin/init 创建node2 docker exec -it node2 bash 进入node2 yum insta 阅读全文
posted @ 2019-07-19 20:08 SZ_文彬 阅读(192) 评论(0) 推荐(0) 编辑
摘要: docker run -it --name node1 docker.io/centos bash 创建node1容器 docker exec -it node1 bash 进入node1 yum install openssh-server –y 安装ssh yum install net-too 阅读全文
posted @ 2019-07-19 15:06 SZ_文彬 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 1.前期配置 aliyun镜像地址 https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors 加速度地址:https://lvb4p7mn.mirror.aliyuncs.com 针对Docker客户端版本大于 1.10.0 的用户 您可 阅读全文
posted @ 2019-07-19 00:06 SZ_文彬 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1.镜像源 阿里云镜像源 https://opsx.alibaba.com/mirror/ 基于centos镜像的nginx镜像制作 vi /etc/nginx/nginx.conf user nginx; daemon off; 检查语法 nginx -t docker commit --help 阅读全文
posted @ 2019-07-19 00:03 SZ_文彬 阅读(319) 评论(0) 推荐(0) 编辑