在centos7使用docker安装方式,进行到安装RoboMongo,支持使用ssh方式访问mongodb,时发现ssh无法启动。
docker-compose.yml中配置如下:
然后查找Dockerfile文件,发现都是ubuntu下执行的的,不知道该怎么解决这个问题。
google 搜索一下吧;oci runtime create failed : starting container process caused sshd
不能翻墙,就开一下蓝灯
蓝灯:https://github.com/getlantern/lantern/
每天有一定的免费流量
好的,谢谢
碰到此问题的需要把Dockerfile文件中的第一句“FROM ubuntu:16.04”修改为 “FROM hub.c.163.com/public/ubuntu:16.04-tools”即可。