How do i setup a local docker registry?
-
Man page for docker run: http://bit.ly/2h77MqO
Note: This is just for testing purposes. The configuration of a live local docker registry the following link should be followed: https://docs.docker.com/registry/configuration/
To setup a local docker registry for testing.
$ docker run -d -p 5000:5000 --restart=always --name registry registry:2
The registry will now be running on localhost:5000
© Lightnetics 2024