confidential-containers / documentation

Documentation for the confidential containers project
Apache License 2.0
73 stars 48 forks source link

change the destination format when encrypting the image #116

Closed ChengyuZhu6 closed 1 year ago

ChengyuZhu6 commented 1 year ago

When I use skopeo to encrypt the image from docker registry(docker://) to the local directory(dir:) named image, there is an error:

FATA[0003] copying system image from manifest list: Internal error: no candidate MIME types

Maybe this is a bug? Because there is no problem when the target format is oci. And I found it's not a bug of CoCo. If this is a bug, we might be able to change the target format from dir to oci in the example.

My skopeo version:

skopeo version 1.11.1-dev commit: 2363dfeeabd53d5c4f1e244765116b1c611e2f29
fitzthum commented 1 year ago

@ChengyuZhu6 I added this change to https://github.com/confidential-containers/documentation/pull/113 so that we can get it in for 0.5.0 and you won't have to rebase.

fitzthum commented 1 year ago

Yes, this can be closed. Thanks @ChengyuZhu6