This Dockerfile
is for setting insecure registry easily.
Clone this repository using git clone
$ git clone https://github.com/Pick1a1username/docker_dind_for_insecure_registry.git
$ cd docker_dind_for_insecure_registry
$ docker build -t docker_dind_insecure:0.1 .
$ docker image ls
This image is supposed to be used in Docker Compose.
When you use this image, you should specify an environment variable named REGISTRY_ADDR
, the hostname of IP address without port number of a Docker Registry.
Note that the port number of the Docker Registry is expected to be 5000
.
https://docs.docker.com/registry/insecure/
Any suggestions are welcome!
This project is licensed under the MIT License - see the LICENSE.md file for details