Skip to content

feat: Default to Podman Socket #1242

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adambkaplan
Copy link
Contributor

Update s2i's defaults to inspect the host system for Podman sockets. Podman socket provides support for the Docker v1.40 API, which meets s2i's needs. The logic looks for the podman socket in the following order:

  1. Rootless podman socket
  2. Root podman socket
  3. Docker socket

If none are found, the default falls back to the docker socket. As before, the --url and DOCKER_HOST environment variables can override the container engine socket location.

Fixes #1163

@openshift-ci openshift-ci bot requested review from jkhelil and psrvere June 13, 2025 12:48
Copy link
Contributor

openshift-ci bot commented Jun 13, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adambkaplan

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 13, 2025
@adambkaplan
Copy link
Contributor Author

/retest

@adambkaplan adambkaplan force-pushed the podman-socket-default branch from e5bbf8d to a65577c Compare June 14, 2025 06:44
Update s2i's defaults to inspect the host system for Podman sockets.
Podman socket provides support for the Docker v1.40 API, which meets
s2i's needs. The logic looks for the podman socket in the following
order:

1. Rootless podman socket
2. Root podman socket
3. Docker socket

If none are found, the default falls back to the docker socket. As
before, the `--url` and `DOCKER_HOST` environment variables can
override the container engine socket location.

Signed-off-by: Adam Kaplan <[email protected]>
@adambkaplan adambkaplan force-pushed the podman-socket-default branch from a65577c to 9e641cf Compare June 14, 2025 08:14
Copy link
Contributor

openshift-ci bot commented Jun 14, 2025

@adambkaplan: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/security 9e641cf link false /test security

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@adambkaplan
Copy link
Contributor Author

@psrvere please take a look - this will let us (finally) remove the hard dependency on Docker!

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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

s2i is using docker and not podman
1 participant