OCI-IMAGE-TOOL-VALIDATE(1)(OCI)

πŸ“¦
version 1 Β· 5 versions
, in debian bookworm, ubuntu noble, ubuntu questing

✨ NAME ✨

oci-image-tool validate β€” bestie, it validates one or more image files πŸ’–

It's part of the OCI manual collection, and honestly? It's giving "quality control but make it cute."


🌸 SYNOPSIS 🌸

oci-image-tool validate FILE... [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea β˜• β€” oci-image-tool validate takes the file(s) you hand it and checks them against the OCI image specification. That's it. That's the whole job. And it does it flawlessly, no cap. πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • --help β€” prints the usage statement, because sometimes you just need the manual to look at you back 🫢
  • --ref=[] β€” ok so this one sets the search criteria for the validated reference, and the format is A=B. The reference should point to a manifest or an index. Like, for example: --ref name=v1.0 --ref platform.os=latest. It only supports three cases, and those three are name, platform.os and digest β€” that's the whole list, no extras, don't come for me. Also: this one is only applicable if type is image. Periodt.
  • --type="" β€” the type of the file you're validating, bestie. Pick one of "image,manifest,imageIndex,config". Choose wisely 🌈

πŸ”₯ EXAMPLES πŸ”₯

$ skopeo copy docker://busybox oci:busybox-oci:latest
$ oci-image-tool validate --type image --ref name=latest busybox-oci
busybox-oci: OK

Not the busybox-oci: OK at the end 😭 that's the validation equivalent of getting your grade back and it's an A+. Ate. πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

skopeo(1) β€” go say hi, it's iconic too 🧚


⭐ HISTORY ⭐

  • Sept 2016 β€” originally compiled by Antonio Murdaca (runcom at redhat dot com) πŸŽ€

And that's the whole page, bestie! This one came from the OCI Community, dated JULY 2016, living in the Tool / Image corner of the OCI-IMAGE-TOOL-VALIDATE(1)(OCI) neighborhood πŸ’– validate responsibly, mwah 🫢✨

πŸ“¦ where this page comes from