docker insecure registry daemon not using flag

I have an insecure registry running at testcluster.myurl.name:18079

a docker login testcluster.myurl.name:18079 fails with no valid certificate found and suggests to specify the --insecure-registry flag for the daemon.

  • Environment variables in docker when exec docker run
  • Pass environment variables to Dockerfile during build time
  • Photon vmware pros and cons
  • Docker build & deploy on Jenkins takes increasingly long amount of time
  • Docker Error while fetching server API version
  • Alternatives to ssh X11-forwarding for Docker containers
  • However, I already specified the flag (on Ubuntu) in /etc/default/docker
    my

    DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4 --insecure-registry testcluster.myurl.name:18079"
    

    are set and the daemon was restarted. Still the problem remains.

  • Docker ADD folder during build and then expose to VOLUME
  • Docker Compose LAMP Database connection error
  • Editing Docker container FS using Atom/Sublime-Text?
  • why docker container still can communicate with outside when i shutdown the iptables
  • Cannot run script added to existing docker container
  • How do I disable Transparent Hugepages for Docker for Mac/Windows (Native)
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.