Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Rootless Makisu #337

Open
AurelienGasser opened this issue Jun 19, 2020 · 3 comments
Open

Rootless Makisu #337

AurelienGasser opened this issue Jun 19, 2020 · 3 comments
Labels
question Further information is requested

Comments

@AurelienGasser
Copy link

AurelienGasser commented Jun 19, 2020

Does Makisu currently support being run as a non-root user? The documentation doesn't seem to mention it.

If it's not currently possible, can Makisu eventually be made runnable as a non-root user, or does Makisu's design or other limitations fundamentally prevent it?

@yiranwang52
Copy link
Contributor

Nothing really requires root by design - it just read directories/files and sometimes move them around (needed for multi-phase builds).

However normally the base image (unless you use FROM scratch) would contain files owned by root, and in that case you will need run makisu as root in container. In that case maybe you can also get around this by using user namespace.

@yiranwang52 yiranwang52 added the question Further information is requested label Jun 24, 2020
@pPrecel
Copy link

pPrecel commented Nov 25, 2020

Have you any list of files/directories that makisu should have access to? Or maybe any tutorial, how to run the makisu image without root?

@AurelienGasser asked a good question because, for example, gardener can create Kubernetes cluster without permission to run any image with root or with other privileges (more info)

@WhyNotHugo
Copy link

What exactly are you trying to do?

Ideally, you'd want to run makisu inside docker.
If you also don't want to run docker, you might get away with using podman to run makisu inside a container.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants