Mac OS X & Docker 1.9.1 Insecure registry location

I am trying to configure my Docker instance to allow insecure registries on my Mac. However, in the new installation for Docker, I can’t find which config file to place the

–insecure-registry host:port

  • ERR_EMPTY_RESPONSE for localhost when running Docker
  • Docker mysql_connect(): Can't connect
  • Vagrant synced_folder not working with docker provider build_dir (Windows)
  • scan-and-scroll doesn't work from Docker with a ElasticSearch cluster placed outside
  • How to properly set up dockerized django app with SSL handling using self-signed certificate and mod_wsgi-express?
  • How to get docker container ID within Docker?
  • I see in some places to put it in the /etc/default/docker file, yet the folder default doesn’t exist. I’ve even tried reating a docker file in the /etc/defaults dir to no avail.

    I could really use some insight. Thanks.

  • Where to find the OS that I installed using Docker?
  • Is there any reason to favour concatenated RUN directives over RUNning a script?
  • Docker force container to specific physical interface
  • Bluemix Kubernetes docker deployment query
  • Networking setup in docker
  • Where is the time spent starting a docker image?
  • One Solution collect form web for “Mac OS X & Docker 1.9.1 Insecure registry location”

    Use docker-machine with the --engine-insecure-registry to accomplish this on Mac. If you initially created your machine with name dev you will need to stop and remove it first:

    docker-machine stop dev
    docker-machine rm dev

    Then, assuming your registry was at registry.mydomain.internal:8443 you would create the new machine using:

    docker-machine create -d virtualbox --engine-insecure-registry registry.mydomain.internal:8443 dev
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.