-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remove DOCKER_CLI_EXPERIMENTAL usage #3673
Conversation
The DOCKER_CLI_EXPERIMENTAL environment variable was used to enable experimental features in the docker CLI. This capability was deprecated in Docker v19.03 and completely removed in v23.0 [0]. This removes the setting of DOCKER_CLI_EXPERIMENTAL from our scripts as it no longer has any effect and is not needed. [0] https://docs.docker.com/engine/deprecated/#configuration-options-for-experimental-cli-features Signed-off-by: Sean McGinnis <[email protected]>
unless on an old docker? 19.03 is pretty old though ... |
Yeah, I don't know if we publish an official supported version range anywhere, but I'm fairly sure things would no longer work with that old of a version. If we want to add this statement somewhere I am happy to add it to this PR, but I think we are safe to assume if someone actually is running this old of a docker install they are going to run in to other issues. |
We're soft-requiring 20.10 (december 2020 and later) at runtime now (https://github.com/kubernetes-sigs/kind/releases/tag/v0.20.0) with cgroupns=private (... though we really may have to revisit that ... none of our options have been great there). I don't think we want to make a more specific support statement because we're not really equipped to test all of the versions and even with the 20.10 thing, you may get earlier versions working fine if you have cgroups v2 enabled. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, stmcginnis The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
We very rarely intentionally adopt anything requiring newer versions of kernel / docker / ..., so far we've made that exception maybe two times, once for the problems with cgroups v1 and cgroup awareness skew => cgroupns, I'm struggling to recall the other one but it was quite early in the project and less impactful as we had less users, I think it was only build-time and not runtime but I'm not finding it. We don't however, actually test with a matrix of versions and I don't think we want to take that on versus checking requirements when adopting new docker/podman/nerdctl features and reviewing incoming bugs. So far we haven't introduced any unexpected compat issues that I can recall ... but we also don't guarantee anything, similar to Kubernetes which doesn't make any comment about containerd/cri-o versions. |
Thanks! |
The DOCKER_CLI_EXPERIMENTAL environment variable was used to enable experimental features in the docker CLI. This capability was deprecated in Docker v19.03 and completely removed in v23.0.
This removes the setting of DOCKER_CLI_EXPERIMENTAL from our scripts as it no longer has any effect and is not needed.