Version:

Version:

Version:

Version:


Table of Contents

Online Help

Add Docker Hub Registry Example

There are two parts to add the Docker Hub Registry:

The first part is assigning permission to the repositories in Docker Hub account.

The second part is adding the Docker Hub repositories to Container Proteciton

  1. Log into Docker Hub with the administrator account.
  2. Go to Organizations and select "forticwpresarch" namespace.
  3. In the "forticwpresearch" namespace, click on the Teams tab, then select the team "guest".
  4. In team "guest", select Permissions tab to access Repository Permissions.
  5. Add all repositories with Read-only permission.
  6. Now go back to Container Protection to add the repositories.

  7. Log into FortiCWP > Container Protection. From navigation menu, go to CONFIGURE > Registry, click +ADD NEW and select Docker Hub.
    1. Enter the Organization Name: "forticwpresearch".
    2. Enter the Repository: "mypri", "mypub", and "no_tag_repo".
    3. Select a Kubernetes Cluster to scan the images.
    4. Select the Docker Hub User from Credential Store (The team member that was configured earlier)
    5. Give a name for the registry: "DockerHub_Test"
    6. Click Add Registry to finish adding the repositories to the registry.

 

 

 

 

 

 

Add Docker Hub Registry Example

There are two parts to add the Docker Hub Registry:

The first part is assigning permission to the repositories in Docker Hub account.

The second part is adding the Docker Hub repositories to Container Proteciton

  1. Log into Docker Hub with the administrator account.
  2. Go to Organizations and select "forticwpresarch" namespace.
  3. In the "forticwpresearch" namespace, click on the Teams tab, then select the team "guest".
  4. In team "guest", select Permissions tab to access Repository Permissions.
  5. Add all repositories with Read-only permission.
  6. Now go back to Container Protection to add the repositories.

  7. Log into FortiCWP > Container Protection. From navigation menu, go to CONFIGURE > Registry, click +ADD NEW and select Docker Hub.
    1. Enter the Organization Name: "forticwpresearch".
    2. Enter the Repository: "mypri", "mypub", and "no_tag_repo".
    3. Select a Kubernetes Cluster to scan the images.
    4. Select the Docker Hub User from Credential Store (The team member that was configured earlier)
    5. Give a name for the registry: "DockerHub_Test"
    6. Click Add Registry to finish adding the repositories to the registry.