2.2 - Lab 2¶
Objectives¶
- Create a Library in Harbor
- Push Tanzu Kubernetes Grid Container Images to Harbor
Create a Library in Harbor¶
- Using Firefox, open the Harbor bookmark in a new tab.
- Log in to Harbor.
- User name: admin
- Password: VMware1!
- On the Projects page, click NEW PROJECT.
- Enter tkg for Project Name.
- For Access Level select Public.
- Click OK.
Push Tanzu Kubernetes Grid Container Images to Harbor¶
-
Using the terminal, navigate to the
Workspace
directory.cd ~/Workspace
-
Log in to Harbor using the docker CLI.
docker login harbor.vclass.local
- User name: admin
- Password: VMware1!
- Run the publish script to push container images from the student desktop to Harbor.
./tag-push-images.sh
This process will take approximately 20 minutes.
-
In Harbor, click Projects.
-
Click tkg.
The Tanzu Kubernetes Grid container images display.