We are planning to enable content trust in Azure Content Registry so that we can push the signed images to repo for the consumers to use. But I have few doubts?
- Once I enable content trust, can the users still able to pull the existing images?
- Once I enable content trust, can I push both signed and unsigned images to the registry?
Can anyone advise on this?
Thanks
If you enable Content Trust in Azure Container Registry, the repository could have both signed and unsigned image.
From the docs:
One important point is that only user with the
AcrImageSigner
role can push signed image to the registry.And for the ability to pull untrusted image, if the client activate the content trust on Docker, he could only pull trusted image. But, if he still want an untrusted image, we could add
--disable-content-trust
to the pull command.