- Docker Registry
- SSL
-
Clone the project
$ git clone https://github.com/imagine10255/docker-registry-server
-
Verify SSL (https://www.sslforfree.com/)
$ docker-compose up verify
-
Get verify file in
./verify-public
and verify insslforfree
-
Close the verify web service
$ docker-compose down
-
Get ssl file in
./ssl
and run$ cat certificate.crt ca_bundle.crt >> _certificate.crt
-
Create the your auth login verify in
./auth/htpasswd
$ docker run --entrypoint htpasswd registry:2.7.0 -Bbn your_account your_password > ./auth/htpasswd
-
Start Docker Registry Server
$ docker-compose up -d server
$ docker login https://your_domain:8443
typing account, password then show success!
You can push the docker image in your registry