Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.54 KB

ctlptl_create_registry.md

File metadata and controls

34 lines (25 loc) · 1.54 KB

ctlptl create registry

Create a registry with the given name

ctlptl create registry [name] [flags]

Examples

  ctlptl create registry ctlptl-registry
  ctlptl create registry ctlptl-registry --port=5000
  ctlptl create registry ctlptl-registry --port=5000 --listen-address 0.0.0.0

Options

      --allow-missing-template-keys   If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
  -h, --help                          help for registry
      --image string                  Registry image to use (default "docker.io/library/registry:2")
      --listen-address string         The host's IP address to bind the container to. If not set defaults to 127.0.0.1
  -o, --output string                 Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
      --port int                      The port to expose the registry on host. If not specified, chooses a random port
      --show-managed-fields           If true, keep the managedFields when printing objects in JSON or YAML format.
      --template string               Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].

SEE ALSO

Auto generated by spf13/cobra on 22-Mar-2025