Skip to content

mk/docker.mk: Add Podman support and fix version/artifact handling#359

Open
flouthoc wants to merge 1 commit intoNVIDIA:mainfrom
flouthoc:main
Open

mk/docker.mk: Add Podman support and fix version/artifact handling#359
flouthoc wants to merge 1 commit intoNVIDIA:mainfrom
flouthoc:main

Conversation

@flouthoc
Copy link

@flouthoc flouthoc commented Mar 9, 2026

  • Use $(DOCKER) for pull, build, run, images, and rmi so DOCKER=podman works
  • Add IMAGE_PREFIX (localhost/ with Podman) and VOLUME_OPTS (:z for Podman/SELinux)
  • Add DOCKER_BUILD_FMT (--format docker with Podman) so SHELL and bash RUN work
  • Create ARTIFACTS_DIR before container run (mkdir -p)

PR similar to NVIDIA/nvidia-container-toolkit#1700

- Use $(DOCKER) for pull, build, run, images, and rmi so DOCKER=podman works
- Add IMAGE_PREFIX (localhost/ with Podman) and VOLUME_OPTS (:z for Podman/SELinux)
- Add DOCKER_BUILD_FMT (--format docker with Podman) so SHELL and bash RUN work
- Create ARTIFACTS_DIR before container run (mkdir -p)

Signed-off-by: flouthoc <flouthoc.git@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant