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).
1
# Create and move into the ~/Registries/example directory
2
$ mkdir -p ~/Registries/example
3
$ cd ~/Registries/example
4
# Create a registry instance
5
$ registry init
Copied!
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.
Last modified 1mo ago
Copy link
Edit on GitHub