The quickstart contain a section on how to create an encrypted image with the attestation-agent. It mentions the following command to encrypt the image:
However, I realized that skopeo will silently leave the image unencrypted if the target image URL uses the docker-daemon protocol. In my experiments I could only generate the image properly with docker or oci. With the former skopeo will push the image directly to an image registry, whereas the later will create a local directory and you must use skopeo again to push it to the registry.
The quickstart contain a section on how to create an encrypted image with the attestation-agent. It mentions the following command to encrypt the image:
However, I realized that skopeo will silently leave the image unencrypted if the target image URL uses the
docker-daemon
protocol. In my experiments I could only generate the image properly withdocker
oroci
. With the formerskopeo
will push the image directly to an image registry, whereas the later will create a local directory and you must use skopeo again to push it to the registry.Cc @ryansavino @fitzthum