Article
home/blog/Loading

How to allow insecure hosts in Docker

To allow docker to connect to a insecure host (a host using http instead of https) you need to edit the daemon.json to have some config!

Steps to allow

  1. Find the config - locate docker | grep daemon
  2. Edit daemon.json
  3. Add "insecure-registries" : ["url:port"]
  4. Restart the docker service