When trying to run the following from the README
$CTR images layerinfo --platform linux/amd64 docker.io/library/bash:latest
I always get the following error:
ctr: unhandled media type application/vnd.in-toto+json: invalid argument
I cannot view the encryption info on the image, and I get the same error when trying to run the encrypt command as well. Would this have something to do with the config.toml file, or how containerd is set up?
Edit: I had previously pulled another image with --all-platforms label, which caused the error. Removing that image fixed it.
When trying to run the following from the README
$CTR images layerinfo --platform linux/amd64 docker.io/library/bash:latest
I always get the following error: ctr: unhandled media type application/vnd.in-toto+json: invalid argumentI cannot view the encryption info on the image, and I get the same error when trying to run the encrypt command as well. Would this have something to do with the config.toml file, or how containerd is set up?
Edit: I had previously pulled another image with --all-platforms label, which caused the error. Removing that image fixed it.