Right now, when I execute docker scout attestation get --platform linux/amd64 --predicate --predicate-type https://cyclonedx.org/bom/v1.6 <image> it's downloading the whole image with a couple GB, showing Storing image for indexing for some time. When doing docker pull <image> first, that works a lot more reliable, but has the same downside.
Getting the attestation should be quick and easy just using the manifest. No need to do any indexing, right? Using oras I can quickly grab the manifests and the SBOM within seconds, but would need to extract the in-toto statement myself (or at least I didn't find a nicer way like --predicate --predicate-type https://cyclonedx.org/bom/v1.6 on docker-scout).
Right now, when I execute
docker scout attestation get --platform linux/amd64 --predicate --predicate-type https://cyclonedx.org/bom/v1.6 <image>it's downloading the whole image with a couple GB, showingStoring image for indexingfor some time. When doingdocker pull <image>first, that works a lot more reliable, but has the same downside.Getting the attestation should be quick and easy just using the manifest. No need to do any indexing, right? Using
orasI can quickly grab the manifests and the SBOM within seconds, but would need to extract the in-toto statement myself (or at least I didn't find a nicer way like--predicate --predicate-type https://cyclonedx.org/bom/v1.6on docker-scout).