摘要: 首先,创建一个sshd_centos工作目录: [root@localhost ~]# mkdir sshd_centos [root@localhost ~]# cd sshd_centos [root@localhost sshd_centos]# touch Dockerfile run.sh 阅读全文
posted @ 2017-02-22 17:19 xldwhj 阅读(590) 评论(0) 推荐(0) 编辑
摘要: 以centos为基础,目的使用ssh服务远程连接docker容器。 环境:宿主机centos7(宿主机ip地址为192.168.164.130),直接搜索docker的centos镜像,下载最新版本。 [root@localhost ~]# docker search -s 15 centos [r 阅读全文
posted @ 2017-02-22 09:57 xldwhj 阅读(3082) 评论(0) 推荐(1) 编辑