-
Notifications
You must be signed in to change notification settings - Fork 619
Open
Labels
Description
Contributing guidelines
- I've read the contributing guidelines and wholeheartedly agree
I've found a bug and checked that ...
- ... the documentation does not mention anything about my problem
- ... there are no open or closed issues that are related to my problem
Description
After updating buildx version to 0.31.0 or above, command docker compose build produces an error:
Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.41: driver not connecting
Expected behaviour
No error and image builds as usual.
Actual behaviour
Image not building with error Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.41: driver not connecting
Buildx version
github.com/docker/buildx v0.31.1 a267595
Docker info
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., v0.31.1)
compose: Docker Compose (Docker Inc., v5.0.2)
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 20.10.24+dfsg1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
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 logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 1.6.20~ds1-1+deb12u2
runc version: 1.1.5+ds1-1+deb12u1
init version:
Security Options:
apparmor
seccomp
Profile: default
cgroupns
Kernel Version: 6.1.0-43-amd64
Operating System: Debian GNU/Linux 12 (bookworm)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 3.822GiB
Name: cmhengvm01
ID: CGGF:OXYI:Z3HG:ZNTH:EY6X:FOFJ:JYA2:Y6GJ:XBP2:RBNO:JQQW:NKAU
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Builders list
NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS
default* docker
\_ default \_ default error
Failed to get status for default (default): Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.41: driver not connecting
Configuration
N/A
Build logs
Additional info
I know updating docker version can resolve this but accoding to README, Using Buildx with Docker requires Docker engine 19.03 or newer. I'm using 20.10.24 which should be supported.
Reactions are currently unavailable