How to add insecure-registries in docker:dind
CYB 11/24/2020, dockerJenkins

This article will show how to add insecure-registries in docker:dind, allow jenkins to push to a private docker-registry.
# Docker run
You can just add --insecure-registry arguments to the command:
docker run --rm --privileged --name docker-dind --network-alias docker \
-e DOCKER_TLS_CERTDIR="" docker:dind \
--insecure-registry 192.168.0.100:5000
1
2
3
2
3