Enable Content Trust in Projects
vSphere Integrated Containers Registry provides a Docker Notary server that allows you to implement content trust by signing and verifying the images in the registry.
Content trust is enabled at the project level. Though a project can store both signed and unsigned images at the same time, if content trust is enabled on it, users can only push and pull images to and from the project if they are signed and verified by the Notary server. The registry will refuse to serve images to a client from a project with content trust enabled if they are not signed and verified.
Enabling content trust on a project automatically modifies the registry whitelist settings of any virtual container hosts (VCHs) that are registered with the project. Consequently, when content trust is enabled, the VCHs in the project can only pull signed and verified images from the registry instance that is running in the vSphere Integrated Containers appliance. Furthermore, updating the whitelist settings of the VCH by enabling content trust requires that the existing whitelist settings of the VCH permit pulling from the registry. The VCH will reject the content trust update if it would result in a more permissive configuration than the one currently configured by the vSphere administrator.
- For general information about content trust, see Content trust in Docker in the Docker documentation.
- For information about how enabling content trust affects VCHs, see VCH Whitelists and Content Trust in vSphere Integrated Containers for vSphere Administrators.
- Log in to vSphere Integrated Containers Management Portal with a vSphere administrator, Management Portal administrator, or DevOps administrator account. For information about logging in to vSphere Integrated Containers Management Portal, see Logging In to the Management Portal.
- You have a created project.
- Navigate to Administration > Projects > Your_project.
- Click the Configuration tab.
- To prevent unsigned images from the project repositories from running, select the Enable content trust check box.
What to Do Next
For information about how to configure Docker clients for content trust, see the section on Using vSphere Integrated Containers Registry with Content Trust in Developing Applications with vSphere Integrated Containers.