Docker content trust: how it works

Konstantinos Patronas
3 min readFeb 3, 2021

Docket content trust is a security mechanism that allows only images with a specific sign to run to our docker environment. This ensures that we run secure images.

How to setup Docker content trust

We need first to login to our docker repository using the docker login command

$ docker login

After a successful login we need to generate the certificate for our docker repository user, which in my case is ‘kpat’. Creating the certificate requires to generate a passphrase as…

--

--