[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

I can't push/pull to my docker registry anymore

For anyone getting errors like:

Error: Invalid registry endpoint Get EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/

With Docker 1.3.1 (which just recently released on Fedora).  You'll need to do one of the following:

- Setup the docker daemon to allow access to an insecure registry.  For example:

sed -i 's,^OPTIONS=--selinux-enabled.*,OPTIONS=--selinux-enabled --insecure-registry=,' /etc/sysconfig/docker

- Or add a cert to you docker registry which requires fronting it with nginx or apache.

Note: There was an issue to add this to docker pull that was just closed (not merged): https://github.com/docker/docker/pull/8935

Let me know if anyone has a simpler (or more elegant) solution.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]