Because docker registry has issue.
- AWS S3 bucket for Registry Data
- Uses Letsencrypt certs
Make sure you have a domain name and SSH access to an instance. This works well on Ubuntu servers with Docker and Docker Compose installed.
- Clone repo.
- Create
.env
based on.env.example
and set your vars. (Check that the aws access key has no symbol/
orspace
.) - Get letsecrypt certs
docker-compose -f docker-compose.letsencrypt.yml up
- Generate auth date
./set_registry_auth.sh
- Start registry with
docker-compose -f docker-compose.registry.yml up -d
- You can renew cert manually, see 3.
docker login registry.example.com -u username
and enter your password.- It should say
Login Succeeded
- You can use it.