regctl image get-file
Go through each of the image layers searching for the requested file.
regctl image get-file <image_ref> <filename> [out-file] [flags]
- cat
# get the alpine-release file from the latest alpine image
regctl image get-file --platform local alpine /etc/alpine-release
--format string Format output with go template syntax
-p, --platform string Specify platform (e.g. linux/amd64 or local)
--host stringArray Registry hosts to add (reg=registry,user=username,pass=password,tls=enabled)
--logopt stringArray Log options
--user-agent string Override user agent
-v, --verbosity string Log level (trace, debug, info, warn, error) (default "WARN")