dockerRegistry

A container image repository using docker.

How to use

./registry.sh 
usage: ./registry.sh options

Quickly manage a simple docker registry.

OPTIONS:
   c   Create user config
   s   Start registry
   d   Stop registry
   h   Show help

Create user/password

./registry.sh c 
Set User name and press enter:testuser
Set Password and press enter:password

Name: testuser
Password: password. Is this correct? (y/n)y

User testuser added to auth/passwd

Start registry

You must create a user/password first.

./registry.sh s
[+] Running 1/1
 ✔ Container dockerRegistry  Started  

Stop registry

./registry.sh d
[+] Stopping 1/1
 ✔ Container dockerRegistry  Stopped  

Connect to the registry

Example assuming that the IP of the machine where the container is running is 192.168.10.50

docker login -u testuser -p password 192.168.10.25:5010

Upload an image to the registry

docker tag hello-word 192.168.10.25:5010/hello-world:latest
docker push 192.168.10.25:5010/hello-world:latest

Pulling an image from the registry

docker pull 192.168.10.25:5010/hello-world:latest
Description
A container image repository using docker.
Readme 44 KiB
Languages
Shell 100%