I am setting up VMWare Harbor as an image registry (just like a docker trusted registry) and I am not sure where it is currently configured to store images once pushed.
I could not find documentation on how to do this, so my question is:
How would I go about mapping Harbor to store images on a specific directory (/data01)
that has already had disk space allocated for the images?
Harbor uses the standard docker registry behind the scenes, it just provides a nice UI and interface to use it.
Configuring it depends on how you're deploying Harbor itself. There are instructions for configuring a storage backend in the installation guide. If you have a mountpoint like /data01
you want to use, it is probably something like this:
storage:
filesystem:
rootdirectory: /data01
See the instructions for your harbor installed method for more information.