As we all known, we can add one --insecure-registry
to the /etc/default/docker
config file to allow insecure registry, like this:
DOCKER_OPTS="$DOCKER_OPTS --insecure-registry myregistry:5000"
My question is: Does it support adding more than one --insecure-registry
since we need to communicate with more than one registries ?
You can specify multiple insecure registries by lining them up:
--insecure-registry IP1:PORT --insecure-registry IP2:PORT --insecure-registry IP3:PORT