1. docker buildx ls
查看所有 builder 实例列表,以及节点相关信息。
每个 builder 构建器都有一个或多个与之关联的节点。
当前默认的 builder 构建器在 NAME/NODE
列有个 *
符号。
explicit node to build against for the target platform marked with a *
in the PLATFORMS
column.
1.1. 帮助
# docker buildx ls --help
Usage: docker buildx ls
List builder instances
Options:
--builder string Override the configured builder instance
1.2. 示例
$ docker buildx ls
NAME/NODE DRIVER/ENDPOINT STATUS PLATFORMS
elated_tesla * docker-container
elated_tesla0 unix:///var/run/docker.sock running linux/amd64
elated_tesla1 ssh://ubuntu@1.2.3.4 running linux/arm64*, linux/arm/v7, linux/arm/v6
default docker
default default running linux/amd64