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 Build Instructions #749

Open
Oglopf opened this issue Dec 14, 2022 · 0 comments
Open

Add Podman Build Instructions #749

Oglopf opened this issue Dec 14, 2022 · 0 comments

Comments

@Oglopf
Copy link
Contributor

Oglopf commented Dec 14, 2022

Currently using podman and expecting drop in behavior to work using an alias in the .bashrc led to a surprised here.

The following command to build the container using docker will not actually work with podman:

docker run --rm -i -t -v "${PWD}:/doc" -u "$(id -u):$(id -g)" ohiosupercomputer/ood-doc-build make html

Instead, we need to alter some flags here and run:

podman run --rm=true -v $PWD:/doc --userns=keep-id --security-opt label=disable ohiosupercomputer/ood-doc-build:v2.0.0 make html

Instead. The use of -u and -userns being the difference between the APIs that causes the problem.

Add the command to the instructions to avoid the issue for any podman users in the future.

┆Issue is synchronized with this Asana task by Unito

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

No branches or pull requests

1 participant