Skip to content
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

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

stmcginnis
Copy link
Contributor

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.

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]>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 28, 2024
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 28, 2024
@BenTheElder
Copy link
Member

This removes the setting of DOCKER_CLI_EXPERIMENTAL from our scripts as it no longer has any effect and is not needed.

unless on an old docker? 19.03 is pretty old though ...

@stmcginnis
Copy link
Contributor Author

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.

@BenTheElder
Copy link
Member

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
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 28, 2024
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 28, 2024
@BenTheElder
Copy link
Member

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.

@k8s-ci-robot k8s-ci-robot merged commit 13ba129 into kubernetes-sigs:main Jun 28, 2024
29 checks passed
@BenTheElder
Copy link
Member

Thanks!

@stmcginnis stmcginnis deleted the experiment-over branch June 28, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants