Skip to content

hayhaylonton/docker-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-registry

step 1:
create virtual host listen http

step 2:
run command
docker-compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ --dry-run -d sample.local --agree-tos -m your-email@local

step 3:
run command
docker-compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ -d sample.local

step 4:
update virtual host add listen https

note:
--reload nginx
docker-compose exec reverse_proxy nginx -s reload

--add user basic auth
docker run --entrypoint htpasswd httpd:2 -Bbn user pass > auth/htpasswd

--create random password
openssl rand -base64 32

--Garbage collection
docker-compose exec registry bin/registry garbage-collect /etc/docker/registry/config.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published