Skip to content

HHH-20358 Refactor container runtime detection and fix Podman-as-Docker defaults#12231

Merged
beikov merged 1 commit into
hibernate:7.1from
marko-bekhta:build/7.1/HHH-20358-Refactor-container-runtime-detection
May 4, 2026
Merged

HHH-20358 Refactor container runtime detection and fix Podman-as-Docker defaults#12231
beikov merged 1 commit into
hibernate:7.1from
marko-bekhta:build/7.1/HHH-20358-Refactor-container-runtime-detection

Conversation

@marko-bekhta
Copy link
Copy Markdown
Member

backport of


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


…s HHH-20358

- Refactored logic to explicitly identify Docker, Podman, and Podman aliased as Docker.
- Fixed a bug where PRIVILEGED_CLI was not set to "sudo" when Podman was aliased as Docker.
- Centralized setting of runtime-specific defaults
- Added an error check and exit if no valid runtime is found on PATH.
- Fixed a HEALTCHECK -> HEALTHCHECK typo
@sonarqubecloud
Copy link
Copy Markdown

@beikov beikov merged commit 352bbb7 into hibernate:7.1 May 4, 2026
26 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants