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
- Find the config -
locate docker | grep daemon
"insecure-registries" : ["url:port"]
- Restart the docker service