Setup A Registry Instance
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 directory
$ mkdir -p ~/Registries/example
$ cd ~/Registries/example
# Create a registry instance
$ registry init
Don't copy-paste the $ signs, they indicate that what follows is a terminal command
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.
Copy link
Edit on GitHub