Skip to content

2. Docker Hub

What Will You Do

You will deploy a publicly available container image from Docker Hub to a number of clusters managed by the Controller.

We will be using the built-in integration for DockerHub in the Controller.


Assumptions

  • You have already provisioned or imported one or more Kubernetes clusters using the Controller.
  • Your clusters have the ability to connect to Docker Hub and pull images.

Step 1: Create Workload

  • Login into the Web console
  • Create a workload with Ingress enabled
  • In the Ingress tab, provide a unique hostname under the System Domain and create the Ingress

Step 2: Configure Container

We will be deploying "tag 0.2" of the "hello" container image from the "nginxdemos" public repository on Docker Hub.

  • Create a new Container
  • Select "Public Docker Hub" for the Registry
  • Select "Public Docker Hub Registry"
  • Type in "index.docker.io/nginxdemos/hello:0.2" for the repository and tag
  • Save the configuration

Image from DockerHub


Step 3: Publish Workload

  • Select a cluster/location in Placement
  • Publish workload to target cluster

Once the workload is published successfully, access the application's URL. You should see a screen similar to the screenshot below.

Nginx Hello


Step 4: Access Workload

Once the workload is published successfully, access the application's URL. You should see a screen similar to the screenshot below.

Nginx Hello App


** Congratulations! **

You have successfully deployed a publicly available container image from Docker Hub.