In the previous guide we installed and configured Harbor to use S3 backed storage. In this guide I will walk you through testing that your Harbor registry installation is being backed by S3 storage.
Pre-Reqs
- Harbor Registry already installed and backed by S3 storage see my guide here
- Photon OS with at least 1 vCPU 2GB RAM and at least 5GB storage – vSphere OVA Here
- Internet Access from Photon OS to the internet
- A quite place where you will not get interrupted see my guide here
Now login to a machine running Docker, I am using Photon OS
Since we installed Harbor with an Insecure Registry we need to let Docker know, edit the following file
DOCKER_OPTS="--insecure-registry harbor.corp.local"
docker tag vmwarecna/nginx harbor.corp.local/library/myimage
Enjoy!
Pingback: How to configure Harbor registry to use Amazon S3 Storage – VMtoCloud.com