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.


  • How to scale out VMs in Azure Container Service Docker?
  • How to run services on startup in docker container
  • Docker postgresql container with external data container
  • How to connect to mysql created by docker-compose
  • docker stop command not working correctly
  • Running build via gitlab ci / docker
  • 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

  • Docker with docker-gen variables for folders
  • Supervisord does not show stdout from processes
  • How to use Docker Remote API to build an image using Dockerfile
  • docker configuration: daemon.json to have socket and IP in docker daemon
  • The right way to move a data-only docker container from one machine to another
  • Getting Docker Container Id in Makefile to use in another command
  • 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.