I have a docker 1.12 running on CentOS. I am trying to add insecure registry to it and things mentioned in documentation just don\'t work. The system uses systemd
systemd
For me the solution was to add the registry to here:
/etc/sysconfig/docker-registries
DOCKER_REGISTRIES='' DOCKER_EXTRA_REGISTRIES='--insecure-registry b.example.com'