We are using notary service along with third party provider aujas for signing the docker images. I have a build machine from where we run the scripts to sign the images. So far so good.
When my customer pulls the image that we have signed, how can he be sure that the image is a signed image and can be trusted ?
I tested from a different machine (other than the build machine) and I am able to pull the image successfully when I unset DOCKER_CONTENT_TRUST. The moment I enable DOCKER_CONTENT_TRUST I get an error that
Error: remote trust data does not exist for docker.io/xxx/xxxx: notary.docker.io does not have trust data for docker.io/xxxx/xxxx
How do my customer trust that image he is pulling is signed ?
Thanks, Madhav
Images that are pulled through Docker Content Trust can be trusted as their cryptographic signatures are automatically verified. From the Docker documentation: