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

regctl blob put

Synopsis

Upload a blob to a repository. Stdin must be the blob contents. The output is the digest of the blob.

regctl blob put <repository> [flags]

Aliases

  • push

Examples

# push a blob
regctl blob put registry.example.org/repo <layer.tgz

Options

      --digest string   Set the expected digest
      --format string   Format output with go template syntax (default "{{println .Digest}}")

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