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.

  • Kubernetes Private Docker Registry Push Error
  • Null port bindings from inspect, the first time. a second time good. why?
  • Docker workflow during development
  • Importing test library 'SSHLibrary' fails with the ImportError “Importing Paramiko library failed. Make sure you have Paramiko installed.”
  • Pulling image from local docker insecured Docker registry to Kubernetes
  • How to do a none interactive pecl install stomp
  • 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 exposing ports site can't be reached
  • Docker - browsing to docker container using its IP
  • Docker command with env var prepended (local env var)
  • Container process on host machine
  • Which device Docker Container writing to?
  • Mystery of the Restarting Docker Container
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.