Skip to content

gauthiersiri/ansible-deploy-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-deploy-registry

Deploy a docker registry v2 using podman.

Tested on RHEL8.

Usage

git clone https://github.com/gauthiersiri/ansible-deploy-registry

Edit :

  • group_vars/main.yaml
  • hosts
sudo ansible-playbook deploy_registry.yaml

Vars

Variable Required? Description
hostname yes Used to generate the certificate and test connectivity
registry.image yes Docker image to use run the registry
registry.port yes port on which the registry is running
users yes List of users to create on the registry. Need at least one.
docker_io.user no username to log on docker.io registry (and avoid pull rate issue)
docker_io.token no token to log on docker.io registry (and avoid pull rate issue)

Start/stop/restart/status of the registry

sudo systemctl start|stop|restart|status local-registry

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages