regctl blob get-file
This returns a requested file from a layer.
regctl blob get-file <repository> <digest> <file> [out-file] [flags]
- cat
# retrieve the contents of /etc/alpine-release
regctl blob get-file alpine \
sha256:9123ac7c32f74759e6283f04dbf571f18246abe5bb2c779efcb32cd50f3ff13c \
/etc/alpine-release
--format string Format output with go template syntax
--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")