2.25. Hammer docker

操作 Docker 内容

Usage:
    hammer docker [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 manifest                      Manage docker manifests
 tag                           Manage docker tags

Options:
 -h, --help                    Print help

2.25.1. Hammer Docker 清单

管理 Docker 清单

Usage:
    hammer docker manifest [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info, show                    Show a docker manifest
 list, index                   List docker_manifests

Options:
 -h, --help                    Print help

2.25.1.1. Hammer Docker 清单信息

显示 docker 清单

Usage:
    hammer docker manifest <info|show> [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --id VALUE                    A docker manifest identifier
 --name VALUE                  Name to search by
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      Organization identifier
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 --repository VALUE            Repository name to search by
 --repository-id NUMBER        Repository identifier
 -h, --help                    Print help

Predefined field sets:
  ---------------|-----|---------|-----
  FIELDS         | ALL | DEFAULT | THIN
  ---------------|-----|---------|-----
  Id             | x   | x       | x
  Name           | x   | x       | x
  Schema version | x   | x       |
  Digest         | x   | x       |
  Downloaded     | x   | x       |
  Tags/name      | x   | x       |
  ---------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.25.1.2. Hammer Docker 清单列表

列出 docker_manifests

Usage:
    hammer docker manifest <list|index> [OPTIONS]

Options:
 --content-view VALUE                 Content view name to search by
 --content-view-filter VALUE          Name to search by
 --content-view-filter-id NUMBER      Content view filter identifier
 --content-view-filter-rule VALUE     Name to search by
 --content-view-filter-rule-id NUMBER Content view filter rule identifier
 --content-view-id NUMBER             Content view numeric identifier
 --content-view-version VALUE         Content view version number
 --content-view-version-id NUMBER     Content view version identifier
 --environment VALUE                  Lifecycle environment name to search by (--environment is deprecated: Use
                                      --lifecycle-environment instead)
 --environment-id NUMBER              (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --fields LIST                        Show specified fields or predefined field sets only. (See below)
 --full-result BOOLEAN                Whether or not to show all results
 --ids LIST                           Ids to filter content by
 --include-filter-ids BOOLEAN         Includes associated content view filter ids in response
 --lifecycle-environment VALUE        Lifecycle environment name to search by
 --lifecycle-environment-id NUMBER    Environment identifier
 --order VALUE                        Sort field and order, eg. 'id DESC'
 --organization VALUE                 Organization name to search by
 --organization-id NUMBER             Organization identifier
 --organization-label VALUE           Organization label to search by
 --organization-title VALUE           Organization title
 --page NUMBER                        Page number, starting at 1
 --per-page NUMBER                    Number of results per page to return
 --product VALUE                      Product name to search by
 --product-id NUMBER                  Product numeric identifier
 --repository VALUE                   Repository name to search by
 --repository-id NUMBER               Repository identifier
 --search VALUE                       Search string
 -h, --help                           Print help

Predefined field sets:
  ---------------|-----|---------|-----
  FIELDS         | ALL | DEFAULT | THIN
  ---------------|-----|---------|-----
  Id             | x   | x       | x
  Name           | x   | x       | x
  Schema version | x   | x       |
  Digest         | x   | x       |
  Downloaded     | x   | x       |
  Tags           | x   | x       |
  ---------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.25.2. Hammer Docker 标签

管理 Docker 标签

Usage:
    hammer docker tag [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info, show                    Show a docker tag
 list, index                   List docker_tags

Options:
 -h, --help                    Print help

2.25.2.1. Hammer Docker 标签信息

显示 docker 标签

Usage:
    hammer docker tag <info|show> [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --id VALUE                    A docker tag identifier
 --name VALUE                  Name to search by
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      Organization identifier
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 --repository VALUE            Repository name to search by
 --repository-id NUMBER        Repository identifier
 -h, --help                    Print help

Predefined field sets:
  ---------------------|-----|---------|-----
  FIELDS               | ALL | DEFAULT | THIN
  ---------------------|-----|---------|-----
  Id                   | x   | x       | x
  Tag                  | x   | x       | x
  Repository id        | x   | x       |
  Docker manifest id   | x   | x       |
  Docker manifest name | x   | x       |
  ---------------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.25.2.2. Hammer Docker 标签列表

列出 docker_tags

Usage:
    hammer docker tag <list|index> [OPTIONS]

Options:
 --content-view VALUE                 Content view name to search by
 --content-view-filter VALUE          Name to search by
 --content-view-filter-id NUMBER      Content view filter identifier
 --content-view-filter-rule VALUE     Name to search by
 --content-view-filter-rule-id NUMBER Content view filter rule identifier
 --content-view-id NUMBER             Content view numeric identifier
 --content-view-version VALUE         Content view version number
 --content-view-version-id NUMBER     Content view version identifier
 --environment VALUE                  Lifecycle environment name to search by (--environment is deprecated: Use
                                      --lifecycle-environment instead)
 --environment-id NUMBER              (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --fields LIST                        Show specified fields or predefined field sets only. (See below)
 --full-result BOOLEAN                Whether or not to show all results
 --ids LIST                           Ids to filter content by
 --include-filter-ids BOOLEAN         Includes associated content view filter ids in response
 --lifecycle-environment VALUE        Lifecycle environment name to search by
 --lifecycle-environment-id NUMBER    Environment identifier
 --order VALUE                        Sort field and order, eg. 'id DESC'
 --organization VALUE                 Organization name to search by
 --organization-id NUMBER             Organization identifier
 --organization-label VALUE           Organization label to search by
 --organization-title VALUE           Organization title
 --page NUMBER                        Page number, starting at 1
 --per-page NUMBER                    Number of results per page to return
 --product VALUE                      Product name to search by
 --product-id NUMBER                  Product numeric identifier
 --repository VALUE                   Repository name to search by
 --repository-id NUMBER               Repository identifier
 --search VALUE                       Search string
 -h, --help                           Print help

Predefined field sets:
  --------------|-----|---------|-----
  FIELDS        | ALL | DEFAULT | THIN
  --------------|-----|---------|-----
  Id            | x   | x       | x
  Tag           | x   | x       | x
  Repository id | x   | x       |
  --------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string