06 Harbor Container registry

Kubernetes need a place to pull the container images from. In this lab we are using Harbor an open source container registry, started by VMware.

For our first deployment to work, we first need to build a container, then login and then push the container to that registry .

docker build -t registry.tanzu.dk/ops2devops/studentx:v1 .
docker login registry.tanzu.dk
docker push registry.tanzu.dk/ops2devops/studentx:v1