Need TLS certs for boot2docker


在设置daocloud加速器地址遇上问题:

Need TLS certs for boot2docker,127.0.0.1,10.0.2.15,192.168.59.106

在/var/lib/boot2docker/docker.log上发现有如下提示信息:
"Fail to initialize firewalld: Failed to connect to D-Bus system bus: dial unix /var/run/dbus/system_bus_socket: no such file or directory, using raw iptables instead"

参照官方设置:
boot2docker ssh "echo $'EXTRA_ARGS=\"--registry-mirror=http://xxxx.m.daocloud.io\"' | sudo tee -a /var/lib/boot2docker/profile && sudo /etc/init.d/docker restart"

OSX:10.10.4 (14E46)

boot2docker version
Boot2Docker-cli version: v1.7.1
Git commit: 8fdc6f5

docker version
Client:
Version: 1.8.0
API version: 1.20
Go version: go1.4.2
Git commit: 0d03096
Built: Tue Aug 11 17:17:40 UTC 2015
OS/Arch: darwin/amd64

Server:
Version: 1.8.0
API version: 1.20
Go version: go1.4.2
Git commit: 0d03096
Built: Tue Aug 11 17:17:40 UTC 2015
OS/Arch: linux/amd64
已邀请:

Kwanhur - DevOps at VIPS

赞同来自:


设置加速器地址后退出,boot2docker重启即可解决该问题

boot2docker ssh "echo $'EXTRA_ARGS=\"--registry-mirror=http://xxxx.m.daocloud.io\"' | sudo tee -a /var/lib/boot2docker/profile && exit" && boot2docker restart

要回复问题请先登录注册