Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39
Answered
when run teamcity in a k8s pods,docker can't work :Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39; I have set export DOCKER_API_VERSION=1.39 in /etc/profile.but teamcity can't build,still report this error. however I enter into the pods, I can build well~~I don't know why.
Please sign in to leave a comment.
Hi,
Apologies for the delay, is the issue still standing?
I suspect that /etc/profile is only read when the shell is started as a login shell (sh -l). Which is why it is working when you manually login into a pod's shell. A similar issue is described here, could you please check the solution provided and let me know if it works for you.