我在 EC2 linux/arm64 实例上使用 docker 自上次 docker 升级以来,我一直收到以下错误
DOCKER_BUILDKIT=1 docker build --ssh default -f
../containers/api/Dockerfile . -t api-test:latest
--target setup
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 493B done
#1 DONE 0.0s
#2 resolve image config for docker.io/docker/dockerfile:1.0.0-experimental
#2 DONE 0.6s
#3 docker-image://docker.io/docker/dockerfile:1.0.0-experimental@sha256:d2d402b6fa1dae752f8c688d72066a912d7042cc1727213f7990cdb57f60df0c
#3 CACHED Dockerfile:1 1 | >>> # syntax=docker/dockerfile:1.0.0-experimental 2 | 3 | # Build stage
ERROR: failed to solve: frontend grpc server closed unexpectedly make:
*** [run-tests] Error 1 Build step 'Execute shell' marked build as failure
docker版本
客户:
服务器:引擎:
在我的 M2 mac 上,它可以与较新版本的 docker 一起正常工作
Docker 版本 26.1.4,内部版本 5650f9b。