Source From Here
QuestionTry to pull image from private repo with below error:
How-To
I get helped from this post, two steps in total to solve this issue:
1. Create or modify /etc/docker/daemon.json
- { "insecure-registries":["myregistry.example.com:5000"] }
2. Restart docker daemon
I agree with @dmcgowan
The --insecure-registry=myip:5000 flag is not getting set on the daemon
but I have no idea about why it only occurred under docker version 1.12. I will keep this issue open in next three days, any comments are welcome.
沒有留言:
張貼留言