← 返回命令列表

Linux command

chainctl 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Authenticate with Chainguard

chainctl auth login

List available container images

chainctl images list

List image tags

chainctl images tags list [image_name]

Get image details

chainctl images describe [image_name]

List organizations

chainctl iam organizations list

Configure chainctl settings

chainctl config set [key] [value]

说明

chainctl (Chainguard Control) is the command-line interface for managing Chainguard resources, including security-hardened container images, identity management, and platform configurations. The CLI follows the context noun verb style of interaction, allowing users to discover available images, analyze security metadata, manage organizations, and control access to Chainguard resources.

参数

--api _url_
Chainguard platform API URL (default: https://console-api.enforce.dev)
--config _file_
Path to chainctl config file (or set CHAINCTL_CONFIG)
-o, --output _format_
Output format: csv, json, table, tree, wide, markdown, yaml, or go-template
--log-level _level_
Log level: debug, info (default: ERROR)
--force-color
Force color output

FAQ

What is the chainctl command used for?

chainctl (Chainguard Control) is the command-line interface for managing Chainguard resources, including security-hardened container images, identity management, and platform configurations. The CLI follows the context noun verb style of interaction, allowing users to discover available images, analyze security metadata, manage organizations, and control access to Chainguard resources.

How do I run a basic chainctl example?

Run `chainctl auth login` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --api _url_ do in chainctl?

Chainguard platform API URL (default: https://console-api.enforce.dev)