Closed boomseklecki closed 7 months ago
This is due to the github.com/docker/docker/client
pkg itself. And even if you're able to make a workaround by setting DOCKER_API_VERSION
. I'm not sure whether you can connect to the Docker host from within a container. Kindly try running using binary. Even if you use binary, you've to create your own build by setting client.WithAPIVersionNegotiation()
in your modules/docker/client.go
file before creating a build. For detailed instructions reach out to me. Thanks!
Getting error from docker module 'client version 1.42 is too new. Maximum supported API version is 1.41'. Tried updating docker daemon. Tried passing DOCKER_API_VERSION environment variable in Dockerfile.