-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
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
Update DOCKER_API_VERSION to latest stable (1.39) #3519
Comments
Thanks for the feedback! This seems easy enough to address - PR's are welcome! |
If this constant is needed at all (?), it should probably follow whatever is in
https://docs.docker.com/develop/sdk/#api-version-matrix But best would probably be to remove it altogheter, and let the docker client/server sort it out... ? $ eval $(minikube docker-env | grep -v DOCKER_API_VERSION)
$ docker version
Client:
Version: 18.09.1
API version: 1.38 (downgraded from 1.39)
Go version: go1.10.6
Git commit: 4c52b90
Built: Wed Jan 9 19:35:23 2019
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 18.06.1-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: e68fc7a
Built: Tue Aug 21 17:28:38 2018
OS/Arch: linux/amd64
Experimental: false
It will downgrade gracefully, to whatever least common denominator of API version exists... It might not even be used at all, if not using docker CRI ? $ minikube docker-env
# The docker service is currently not active So minikube probably doesn't need to get involved here ? |
@justinruggles : note that 1.35 is your server API version, so you need to upgrade that (ISO) as well But that means that kubernetes needs to support it (18.09), which it should do in later versions: #3323 minikube:
kubeadm: https://kubernetes.io/docs/setup/cri/ The hard-coded API constant should have been 38 already now, and should be 39 (or removed) later. Workaround is to use a separate |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
See #4180 (and actually minikube was using API 38, even though the variable said API 35) |
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
FEATURE REQUEST
The latest stable version of the Docker Engine API is 1.39. It includes some nice features like the
docker build --ssh
option. Minikube is using latest stable Docker Engine, but it is only using Docker API 1.35.minikube/pkg/minikube/constants/constants.go
Line 141 in 9a7b0b9
Please provide the following details:
Environment:
What happened:
Even if I attempt to override
DOCKER_API_VERSION
with 1.39, it still only uses 1.35.What you expected to happen:
To be able to use the latest stable API version, or at least allow setting it when starting minikube.
How to reproduce it (as minimally and precisely as possible):
Output of
minikube logs
(if applicable):Anything else do we need to know:
The text was updated successfully, but these errors were encountered: