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.

/etc/default/docker:

  • Is there a way to backup my docker environment
  • Multiple applications running simultaneously on a single Docker image
  • Using Docker to launch web app, can't connect to Postgresql DB?
  • prior storage driver “aufs” failed: driver not supported Error starting daemon: error initializing graphdriver: driver not supported
  • pandas to_hdf function get Illegal instruction
  • What Docker base image (`FROM`) for Java Spring Boot?
  • DOCKER_OPTS="--insecure-registry 10.10.10.10:5000"
    

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

    Error response from daemon: Get https://10.10.10.10:5000/v1/_ping: 
    http: server gave HTTP response to HTTPS client
    

  • Routing Docker traffic through a container
  • One docker container per node or many containers per big node
  • Using absolute path with docker run command not working
  • Docker + Nodejs + Brunch + ReactJS image
  • What´s the sha256 code of a docker image?
  • Relative path not working with named volumes in the docker-compose.yml
  • 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":["myregistry.example.com:5000"] }
    
    • 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.