Trouble running docker registry in insecure mode on Ubuntu 16.04

I’m trying to run a docker registry in insecure mode on ubuntu 16.04 (docker v1.12.3). I made the changes specified in the documentation.


  • Transmission WebUI 409 in Docker Container
  • publish a web api based on core RC2 on docker
  • ImportError: cannot import name <package> in pods while restarting pod fixes
  • Expose environment variables to Apache and PHP
  • Golang websocket server on docker container won't send out message to outside world
  • What does BandwidthIn and BandwidthOut graph represent for a service?
  • DOCKER_OPTS="--insecure-registry"

    and then restarted the docker service. However I’m having no luck. When I try to connect I get

    Error response from daemon: Get 
    http: server gave HTTP response to HTTPS client

  • Install Oracle on docker centos container: Insufficient disk space
  • Can't start docker with postgres
  • Accessing host machine as localhost from a Docker container that's also inside a boot2docker vm
  • How to get IP address of docker container in jenkins?
  • Run Docker in daemon mode
  • Docker container rake file error
  • One Solution collect form web for “Trouble running docker registry in insecure mode on Ubuntu 16.04”

    Check if this docker/distribution issue could help (when used with docker 1.12):

    • Create or modify /etc/docker/daemon.json
        { "insecure-registries":[""] }
    • Restart docker daemon
        sudo service docker restart

    On Unbuntu 16.04, check also if configuring docker through systemd is better.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.