-
Notifications
You must be signed in to change notification settings - Fork 13
feat: prefer podman over docker as default container engine #106
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
Merged
openshift-merge-bot
merged 1 commit into
openshift-online:main
from
jmelis:podman-support
Jul 17, 2026
+29
−33
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: openshift-online/rosa-regional-platform-api
Length of output: 1243
🏁 Script executed:
Repository: openshift-online/rosa-regional-platform-api
Length of output: 1956
🌐 Web query:
Podman buildx build --load incompatibility issues limitations💡 Result:
The command podman buildx build is not a full implementation of the Docker buildx tool. Instead, it serves as a compatibility alias for the native podman build command [1][2][3]. Because of this design, several key limitations and incompatibility issues exist: 1. Alias Limitations: Podman does not natively integrate with BuildKit (the engine behind Docker's buildx) [4]. When you run podman buildx build, Podman simply executes its own build engine (Buildah) [1][5]. Consequently, many features exclusive to Docker's buildx (such as advanced builder drivers or specific BuildKit-only options) are either unavailable or strictly limited [1][6]. 2. --load Incompatibility: In Docker, --load is a shorthand for outputting to the local image store [7]. While Podman ignores or provides compatibility for some basic flags to prevent script failures [7][2], it does not support the full range of BuildKit-specific build outputs or the native BuildKit "container" driver behavior [4]. Because Podman does not use BuildKit, attempting to use advanced buildx workflows that rely on BuildKit's internal state—such as cross-platform building via --platform or complex build contexts—often fails or requires significant manual workarounds like exporting to OCI tarballs and using podman load [4][8][9]. 3. Feature Gaps: Users frequently encounter errors when scripts rely on other buildx features such as --push (which is shorthand for --output=type=registry) [6]. Since Podman does not implement these BuildKit-native flags, such commands will fail with "unknown flag" errors or simply remain unsupported [6]. 4. Workarounds: If your workflow requires BuildKit-specific features, you cannot rely on the podman buildx alias. Instead, you must use BuildKit directly (e.g., via buildctl) to produce OCI images or tarballs, and subsequently import those images into the Podman storage manually using podman load [4][8][9]. Alternatively, you should use native Podman commands (podman build) and adapt your CI/CD pipelines to avoid dependencies on Docker-specific buildx/BuildKit syntax [6].
Citations:
image-e2e-multiarchandimage-e2e-push-multiarchtargets fail with Podman.The Makefile auto-selects Podman when available (line 28), but both multiarch targets use unsupported BuildKit-specific flags:
image-e2e-multiarch(lines 217–221) uses--load, which Podman does not supportimage-e2e-push-multiarch(lines 224–229) uses--push, which Podman does not support--platformwithbuildx, a BuildKit-only feature unavailable in PodmanPodman's
buildxis merely an alias forpodman buildand does not provide full Docker BuildKit compatibility. Implement engine-specific logic (e.g., conditional targets or a wrapper function) to use native Podman commands when Podman is selected, or fall back to Docker.🤖 Prompt for AI Agents