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

Improve Makefile usability with podman #479

Closed
ti-mo opened this issue Nov 9, 2021 · 1 comment
Closed

Improve Makefile usability with podman #479

ti-mo opened this issue Nov 9, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ti-mo
Copy link
Collaborator

ti-mo commented Nov 9, 2021

Currently, in order to rebuild testdata using podman, make needs to be invoked as follows:

CONTAINER_ENGINE=podman CONTAINER_RUN_ARGS= make

This is a bit verbose and hard to remember. Perhaps the Makefile could run command -v podman and automatically use it when present on the machine?

Also, running rootless containers requires subuids and subgids to be allocated for the current user (see containers/podman#3421 (comment)).

~ cat /etc/subuid /etc/subgid
timo:100000:65536
timo:100000:65536

Since I didn't set it up before running podman for the first time, an extra podman system migrate was required to get containers to start properly.

Ideally, this would be documented as well.

@ti-mo ti-mo added enhancement New feature or request good first issue Good for newcomers labels Nov 9, 2021
@loshz
Copy link
Contributor

loshz commented Nov 9, 2021

I can take a stab at this if you like? Should be fairly straightforward.

My only thoughts are what if a user has podman installed, but still wants to use docker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants