We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to build an amd64 arm64 image, but the build failed. The error message is as shown in the title
Build amd64 arm64 image
# docker buildx build --platform arm64,amd64 -t dockerhub.kubekey.local/zhjk/xx:8 . --push [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder [+] Building 0.0s (0/0) docker-container:mybuilder ERROR: failed to dial gRPC: rpc error: code = Internal desc = rpc error: code = Internal desc = header key "x-docker-expose-session-name" contains value with non-printable ASCII characters
github.com/docker/buildx v0.15.1 1c1dbb2
Client: Docker Engine - Community Version: 27.0.3 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.15.1 Path: /usr/libexec/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.28.1 Path: /usr/libexec/docker/cli-plugins/docker-compose Server: Containers: 20 Running: 6 Paused: 0 Stopped: 14 Images: 9 Server Version: 27.0.3 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Using metacopy: false Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: systemd Cgroup Version: 2 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: ae71819c4f5e67bb4d5ae76a6b735f29cc25774e runc version: v1.1.13-0-g58aa920 init version: de40ad0 Security Options: apparmor seccomp Profile: builtin cgroupns Kernel Version: 5.15.0-116-generic Operating System: Ubuntu 22.04.4 LTS OSType: linux Architecture: x86_64 CPUs: 16 Total Memory: 47.04GiB Name: devops1 ID: cfec1707-f0cd-4533-a1bb-8c93e3e297c4 Docker Root Dir: /data/docker Debug Mode: false Experimental: false Insecure Registries: dockerhub.kubekey.local 127.0.0.0/8 Live Restore Enabled: false
NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS mybuilder* docker-container \_ mybuilder0 \_ unix:///var/run/docker.sock running v0.15.2 linux/amd64, linux/amd64/v2, linux/amd64/v3, linux/amd64/v4, linux/arm64, linux/riscv64, linux/ppc64, linux/ppc64le, linux/s390x, linux/386, linux/mips64le, linux/mips64, linux/arm/v7, linux/arm/v6 default docker \_ default \_ default running v0.14.1 linux/amd64, linux/amd64/v2, linux/amd64/v3, linux/amd64/v4, linux/arm64, linux/riscv64, linux/ppc64, linux/ppc64le, linux/s390x, linux/386, linux/mips64le, linux/mips64, linux/arm/v7, linux/arm/v6
# ls Dockerfile xx.jar
FROM openjdk:8-jdk-alpine COPY xx.jar app.jar ENTRYPOINT ["java","-jar","/app.jar"]
docker buildx build --platform arm64,amd64 -t dockerhub.kubekey.local/zhjk/xx:8 . --push
docker-container:mybuilder ERROR: failed to dial gRPC: rpc error: code = Internal desc = rpc error: code = Internal desc = header key "x-docker-expose-session-name" contains value with non-printable ASCII characters
# docker logs -f 4ba time="2024-11-16T04:00:09Z" level=info msg="auto snapshotter: using overlayfs" time="2024-11-16T04:00:09Z" level=warning msg="using host network as the default" time="2024-11-16T04:00:09Z" level=info msg="found worker \"xgsfgiyi4vyw3lm64d8pj351f\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:4ba8fcf51ce5 org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:overlayfs], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3 linux/amd64/v4 linux/arm64 linux/riscv64 linux/ppc64 linux/ppc64le linux/s390x linux/386 linux/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]" time="2024-11-16T04:00:09Z" level=warning msg="skipping containerd worker, as \"/run/containerd/containerd.sock\" does not exist" time="2024-11-16T04:00:09Z" level=info msg="found 1 workers, default=\"xgsfgiyi4vyw3lm64d8pj351f\"" time="2024-11-16T04:00:09Z" level=warning msg="currently, only the default worker can be used." time="2024-11-16T04:00:09Z" level=info msg="running server on /run/buildkit/buildkitd.sock" time="2024-11-16T07:22:18Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Canceled desc = context canceled" time="2024-11-16T07:22:21Z" level=error msg="/moby.buildkit.v1.frontend.LLBBridge/Ping returned error: rpc error: code = NotFound desc = forwarding Ping: no such job y02uc66f0a5g8pzbh08wddc73" time="2024-11-16T07:41:57Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Canceled desc = context canceled" time="2024-11-16T07:42:00Z" level=error msg="/moby.buildkit.v1.frontend.LLBBridge/Ping returned error: rpc error: code = NotFound desc = forwarding Ping: no such job t3pdegdr2luobojab6iq1af8d" ^Ccontext canceled
No response
The text was updated successfully, but these errors were encountered:
Hum I can't repro that kind of issue on my side, do you repro with latest stable by creating a new builder?
Sorry, something went wrong.
No branches or pull requests
Description
I am trying to build an amd64 arm64 image, but the build failed.
The error message is as shown in the title
Expected behaviour
Build amd64 arm64 image
Actual behaviour
Buildx version
github.com/docker/buildx v0.15.1 1c1dbb2
Docker info
Builders list
Configuration
# ls Dockerfile xx.jar
docker buildx build --platform arm64,amd64 -t dockerhub.kubekey.local/zhjk/xx:8 . --push
Build logs
docker-container:mybuilder ERROR: failed to dial gRPC: rpc error: code = Internal desc = rpc error: code = Internal desc = header key "x-docker-expose-session-name" contains value with non-printable ASCII characters
moby buildkit buildx stable 1 log
Additional info
No response
The text was updated successfully, but these errors were encountered: