Registry CLI
This guide assumes some familiarity with basic Linux commands. Don't copy-paste the $ signs — they indicate that what follows is a terminal command.
1
2
Set up a registry instance
Run the following in a directory where you wish to set up the registry (~/Registries/example/ in this example):
$ mkdir -p ~/Registries/example
$ cd ~/Registries/example
$ registry initThis presents a set of questions to configure the registry — registry version, auxiliary services (toggle with SPACE BAR), and the QR code type to generate on certificates when signing is enabled. You can accept the defaults for a first run.
3
Check the registry status
$ registry statusConfirm every service shows as running. If a service shows exited, restart just that service:
$ docker-compose restart <service-name>To force-recreate the registry service after a config or schema change:
$ SCHEMA_DIR=config/schemas docker-compose up -d --force-recreate --no-deps registryLast updated