我在 Ubuntu 23.04 上安装了 Docker 20.10.21。我也跑过
export DOCKER_CLI_EXPERIMENTAL=enabled
但是,当我跑步时docker buildx
,我得到
docker: 'buildx' is not a docker command.
See 'docker --help'
我的印象是,在 Debian 风格的操作系统上,buildx 是随docker.io
软件包一起安装的。我如何让这个工作?
docker version
节目
Client:
Version: 20.10.21
API version: 1.41
Go version: go1.20.1
Git commit: 20.10.21-0ubuntu3
Built: Tue Feb 28 14:28:22 2023
OS/Arch: linux/amd64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.21
API version: 1.41 (minimum version 1.12)
Go version: go1.20.1
Git commit: 20.10.21-0ubuntu3
Built: Tue Feb 28 12:17:52 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.12-0ubuntu3
GitCommit:
runc:
Version: 1.1.4-0ubuntu3
GitCommit:
docker-init:
Version: 0.19.0
GitCommit: