Now that you have the Registry CLI installed, we can create a new instance of a registry!
Run the following command in a directory where you wish to setup the registry. For this example, we will use ~/Registries/example/. (~ is short form for the user's home directory).
# Create and move into the ~/Registries/example directorymkdir-p~/Registries/examplecd~/Registries/example# Create a registry instanceregistryinit
This will present you with a set of questions to setup the registry. For the purpose of this getting started guide, you can hit enter and use the default values for the registry.
Registry Status
Once the registry init is successfully initialized, the status of all the services can be checked using
registrystatus
The above command should return the status of all the services, like below
Make sure that the status of all the services is in the running state. If any of the services are in exited status you can restart only that particular service.