Skip to content
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

Add podman support #18671

Merged
merged 2 commits into from Oct 5, 2022
Merged

Add podman support #18671

merged 2 commits into from Oct 5, 2022

Conversation

keestux
Copy link
Contributor

@keestux keestux commented Sep 29, 2022

Contribution description

This change allows the use of podman instead of docker.

Testing procedure

On a system where podman is installed, build an example

BUILD_IN_DOCKER=1 make -C examples/hello-world DOCKER=podman BOARD=sodaq-sara-sff clean all

If the docker command is redirected to podman you don't need the DOCKER=podman.

$ BUILD_IN_DOCKER=1 make -C examples/hello-world BOARD=sodaq-sara-sff clean all

On a system where docker is installed do:

$ BUILD_IN_DOCKER=1 make -C examples/hello-world BOARD=sodaq-sara-sff clean all

Issues/PRs references

Examples: Fixes #18552

When using podman instead of docker the registry is not set by default.
Docker has a builtin registry default "docker.io". Podman does not have a
default. By specifying the registry explicitly both tools can be used.
If podman is used for a docker build then use "--userns keep-id" instead
of "--user $(id -u)".
@github-actions github-actions bot added the Area: build system Area: Build system label Sep 29, 2022
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Oct 4, 2022
Copy link
Contributor

@benpicco benpicco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Murdock is still happy and podman is the way forward.

@benpicco benpicco merged commit 2b088f3 into RIOT-OS:master Oct 5, 2022
@maribu maribu added this to the Release 2022.10 milestone Oct 14, 2022
@keestux keestux deleted the add-podman-support branch October 21, 2022 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for podman as alternative to docker
3 participants