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.


  • What is the convention to include supporting services in a project that uses docker?
  • Docker: can't RUN psql commands from Dockerfile
  • How to make volumes permanent with Docker Compose v2
  • How to send to stdin of a docker-py container?
  • Running a node app as a non root user in docker
  • Getting the manifest list (fat manifest) from docker registry
  • 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

  • ActiveMQ within Wildfly on a Docker container gives: Invalid “host” value “” detected
  • Docker – fix service IP addresses [duplicate]
  • Docker-compose mongoose
  • docker commit running container
  • FTP access inside docker for a PHP envrionnement
  • docker registry fail to start up that prompts file not found which file does exist
  • 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.