View on Github

amp config

Interact with the global Amphitheatre config file

Available Commands

  • find Locate the config file
  • list List all values set in the global Amphitheatre config
  • set Set a value in the global Amphitheatre config
  • unset Unset a value in the global Amphitheatre config

Use "amp --help" for more information about a given command.

amp config find

Locate the config file

Usage

amp config find [options]

Use "amp options" for a list of global command-line options (applies to all commands).

amp config list

List all values set in the global Amphitheatre config

Usage

amp config list [options]

Options

-a, --all              Show values for all configs

Use "amp options" for a list of global command-line options (applies to all commands).

Environment vars

  • AMP_ALL (same as --all)

amp config set

Set a value in the global Amphitheatre config

Usage

amp config set [OPTIONS] <KEY> <VALUE>

Options

  -g, --global           Set value for global config

Use "amp options" for a list of global command-line options (applies to all commands).

Examples:

Mark a registry as insecure

amp config set insecure-registries <insecure1.io>

Globally set the default image repository

amp config set default-repo <myrepo>

Globally set multi-level repo support

amp config set multi-level-repo true

Environment vars

  • AMP_GLOBAL (same as --global)

amp config unset

Unset a value in the global Amphitheatre config

Usage

amp config unset [OPTIONS] <KEY>

Options

-g, --global           Set value for global config

Use "amp options" for a list of global command-line options (applies to all commands).

Environment vars

  • AMP_GLOBAL (same as --global)