Skip to content

Add podman support for containers - #1265

Open
wg1337 wants to merge 1 commit into
openmultiplayer:masterfrom
wg1337:patch-1
Open

Add podman support for containers#1265
wg1337 wants to merge 1 commit into
openmultiplayer:masterfrom
wg1337:patch-1

Conversation

@wg1337

@wg1337 wg1337 commented Aug 31, 2026

Copy link
Copy Markdown

This small change adds support for podman (and other runtimes) to build and run the open.mp container.
The default behaviour (docker) has not been changed, by not passing any arguments to "build.sh" or "run.sh", the script will automatically use "docker".

If you specifically pass an argument, the script will add ":Z" to volume mounts and pass "--userns=keep-id" to make SELinux happy. Example with podman:

cd docker/
CONTAINER_RUNTIME=podman ./build.sh
CONTAINER_RUNTIME=podman ./run.sh

The following PR is still required to properly run with either podman or docker: #1263

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