Dockerfile 生成镜像 验证ssh互信 启动第一个docker容器,然后会进入bash,执行hostname i来获取ip。 再启动另一个容器,并执行ssh $ip。 可以看到,ssh成功。