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 FIELDS Show specified fields or predefined field sets only. (See below) Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --id ID A docker manifest identifier --name NAME Name to search by --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization identifier --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title --repository REPOSITORY_NAME Repository name to search by --repository-id REPOSITORY_ID 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 | ---------------|-----|---------|-----
2.25.1.2. hammer docker 清单列表
list docker_manifests
Usage: hammer docker manifest <list|index> [OPTIONS] Options: --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-filter CONTENT_VIEW_FILTER_NAME Name to search by --content-view-filter-id CONTENT_VIEW_FILTER_ID Content view filter identifier --content-view-filter-rule CONTENT_VIEW_FILTER_RULE_NAME Name to search by --content-view-filter-rule-id CONTENT_VIEW_FILTER_RULE_ID Content view filter rule identifier --content-view-id CONTENT_VIEW_ID Content view numeric identifier --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number --content-view-version-id CONTENT_VIEW_VERSION_ID Content view version identifier --environment ENVIRONMENT_NAME Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id ENVIRONMENT_ID (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields FIELDS Show specified fields or predefined field sets only. (See below) Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --full-result FULL_RESULT Whether or not to show all results One of true/false, yes/no, 1/0. --ids IDS Ids to filter content by Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --include-filter-ids INCLUDE_FILTER_IDS Includes associated content view filter ids in response One of true/false, yes/no, 1/0. --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME Lifecycle environment name to search by --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID --order ORDER Sort field and order, eg. 'id DESC' --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization identifier --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return --product PRODUCT_NAME Product name to search by --product-id PRODUCT_ID Product numeric identifier --repository REPOSITORY_NAME Repository name to search by --repository-id REPOSITORY_ID Repository identifier --search SEARCH 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 | ---------------|-----|---------|-----
2.25.2. hammer docker tag
管理 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 tag info
显示 docker 标签
Usage: hammer docker tag <info|show> [OPTIONS] Options: --fields FIELDS Show specified fields or predefined field sets only. (See below) Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --id ID A docker tag identifier --name NAME Name to search by --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization identifier --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title --repository REPOSITORY_NAME Repository name to search by --repository-id REPOSITORY_ID 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 | ---------------------|-----|---------|-----
2.25.2.2. hammer docker tag list
list docker_tags
Usage: hammer docker tag <list|index> [OPTIONS] Options: --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-filter CONTENT_VIEW_FILTER_NAME Name to search by --content-view-filter-id CONTENT_VIEW_FILTER_ID Content view filter identifier --content-view-filter-rule CONTENT_VIEW_FILTER_RULE_NAME Name to search by --content-view-filter-rule-id CONTENT_VIEW_FILTER_RULE_ID Content view filter rule identifier --content-view-id CONTENT_VIEW_ID Content view numeric identifier --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number --content-view-version-id CONTENT_VIEW_VERSION_ID Content view version identifier --environment ENVIRONMENT_NAME Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id ENVIRONMENT_ID (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields FIELDS Show specified fields or predefined field sets only. (See below) Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --full-result FULL_RESULT Whether or not to show all results One of true/false, yes/no, 1/0. --ids IDS Ids to filter content by Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --include-filter-ids INCLUDE_FILTER_IDS Includes associated content view filter ids in response One of true/false, yes/no, 1/0. --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME Lifecycle environment name to search by --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID --order ORDER Sort field and order, eg. 'id DESC' --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization identifier --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return --product PRODUCT_NAME Product name to search by --product-id PRODUCT_ID Product numeric identifier --repository REPOSITORY_NAME Repository name to search by --repository-id REPOSITORY_ID Repository identifier --search SEARCH 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 | --------------|-----|---------|-----