Question
Podman and Docker Build Argument Compatibility: Interoperability Question
Ash River
0 reputation · 25 Jul 2020, 11:51 UTC
119.4K views0
The goal is to determine whether images built with Podman using custom build‑time ARG directives behave identically when subsequently executed by Docker Engine, without requiring image modification.
Constraints include using rootless Podman with its buildah backend, relying on the default OCI image layout, and accepting that subtle metadata differences may exist between the two runtimes.
Specific questions to resolve are:
- Do ARG values supplied during a podman build appear unchanged in the image configuration inspected by docker inspect?
- Does rootless Podman generate any image fields (e.g., createdby, architecture) that Docker Engine treats differently or ignores?
- Are there any Dockerfile directives (such as SHELL or HEALTHCHECK) whose semantics diverge when processed by Podman’s buildah versus Docker’s native builder?