无论如何要为docker-machine创建的docker's deamon 配置--allow-insecure-ssl.
命令:
docker-machine create --driver virtualbox dev
eval "$(docker-machine env dev)"
docker run myregistry:5000/busybox:latest echo 'hello world'
Run Code Online (Sandbox Code Playgroud)
输出:
Unable to find image 'myregistry:5000/busybox:latest' locally
2015/06/04 16:54:17 Error: v1 ping attempt failed with error: Get
https://myregistry:5000/v1/_ping: EOF. If this private
registry supports only HTTP or HTTPS with an unknown CA certificate,
please add `--insecure-registry myregistry:5000` to the
daemon's arguments. In the case of HTTPS, if you have access to the
registry's CA certificate, no need for the …Run Code Online (Sandbox Code Playgroud) 拉动图像时我一直在连接超时:
首先,它开始下载3个第一层,其中一个完成后,第4层尝试开始下载.现在的问题是它不会开始,直到两个第一层完成下载,在此之前(我认为)第四层无法开始下载并中止整个过程.所以我在想,如果一个接一个地下载这些图层就无法解决这个问题.或者有没有办法用我的浏览器手动下载图像?