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