registry-docker/README.md
2024-11-15 05:50:49 +01:00

37 lines
754 B
Markdown

# Registry
## Description
This docker compose run registry on docker
## Certificats
Copy crt and key files on `/home/docker/certs/`
## Run
```bash
docker compose up -d
```
## Set password
```bash
cd /home/docker/registry/auth
htpasswd -Bc registry.password gilles
```
## Tests
```bash
docker pull ubuntu
docker tag ubuntu registry-docker.gmolab.net:5000/ubuntu
docker login
docker push registry-docker.gmolab.net:5000/ubuntu
## Set registry in Portainer
On portainer
## Sources
https://distribution.github.io/distribution/about/deploying/
https://medium.com/@cnadeau_/private-docker-registry-part-4-lets-secure-the-registry-250c3cef237
## Changelog
### v1.0 - 2024-11-15
#### Added
- initial version by [GMo](mailto:gilles.mouchet@gmail.com)