← 返回命令列表

Linux command

docker-buildx-ls 命令

文件

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

常用示例

List all builder

docker buildx ls

List builders

docker buildx ls --no-trunc

List builders

docker buildx ls --format "{{.Name}}: {{.Status}}"

List builders

docker buildx ls --format json

说明

docker buildx ls lists all builder instances and their associated nodes. The output shows the builder name, driver, endpoint, status, BuildKit version, and supported platforms. The currently selected builder is marked with an asterisk (\*). Each builder may have multiple nodes representing different build environments or platforms. The default builder uses the Docker daemon's built-in build capabilities, while additional builders can use the docker-container, kubernetes, or remote drivers.

参数

--format _format_
Format output using a Go template or predefined format. Default: table.
--no-trunc
Do not truncate output.
--timeout _duration_
Override default timeout for loading builder status (default: 20s).

FAQ

What is the docker-buildx-ls command used for?

docker buildx ls lists all builder instances and their associated nodes. The output shows the builder name, driver, endpoint, status, BuildKit version, and supported platforms. The currently selected builder is marked with an asterisk (\*). Each builder may have multiple nodes representing different build environments or platforms. The default builder uses the Docker daemon's built-in build capabilities, while additional builders can use the docker-container, kubernetes, or remote drivers.

How do I run a basic docker-buildx-ls example?

Run `docker buildx ls` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --format _format_ do in docker-buildx-ls?

Format output using a Go template or predefined format. Default: table.