regclient
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

regctl blob get-file

Synopsis

This returns a requested file from a layer.

regctl blob get-file <repository> <digest> <file> [out-file] [flags]

Aliases

  • cat

Examples

# retrieve the contents of /etc/alpine-release
regctl blob get-file alpine \
  sha256:9123ac7c32f74759e6283f04dbf571f18246abe5bb2c779efcb32cd50f3ff13c \
  /etc/alpine-release

Options

      --format string   Format output with go template syntax

Options from parent commands

      --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")