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

Building / Installing podman as non-root #3100

Closed
aschofie opened this issue May 10, 2019 · 7 comments
Closed

Building / Installing podman as non-root #3100

aschofie opened this issue May 10, 2019 · 7 comments
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@aschofie
Copy link

From what I've read it seems to be the answer to everything that ails docker. Images in user directory, containers with only user permissions, no daemon, etc. Yet every guide to installing seems to rely on the system's package manager, and the build seems to rely on packages being installed (runc, common), that would also require permissions to the system's package manager.

So how can I get podman to run on a system where I only have normal user access?

@giuseppe
Copy link
Member

that is more difficult to get as you'd need to install all dependencies in your home directory and prepare all the configuration files to use/point the right executables. We have nothing at the moment for bootstrapping podman and its dependencies from scratch for an unprivileged user.

The easiest would be to install it on the system, but still use the unprivileged users for running the containers.

@baude
Copy link
Member

baude commented May 29, 2019

@rhatdan ptal, im in agreement with @giuseppe here in that our goal as upstream here is to provide an unprivileged way to run the installed podman -- not to install podman outside the scope of the system. wdyt?

@rhatdan
Copy link
Member

rhatdan commented May 29, 2019

I have no problem is someone wants to go through the procedure to get it documented, I don't see us needing to support this though.
As a thought experiment how far could a user get with building podman, slirp4netns and fuse-overlayfs in their homedir?

@mheon
Copy link
Member

mheon commented May 29, 2019

I think you can actually get it all built, but it's going to be a massive pain to get every build dependency installed.

@rhatdan
Copy link
Member

rhatdan commented May 29, 2019

I agree.

@giuseppe
Copy link
Member

Depending on the host, it can be quite painful for fuse-overlayfs, this is what I need to do for xenial: https://github.com/containers/fuse-overlayfs/blob/master/.travis.yml#L30-L34

It is possible to have a static build for fuse-overlayfs but that requires to use a Dockerfile.

I am afraid this documentation will easily get obsoleted. I think it could go only in a blog post, if someone is interested.

@baude
Copy link
Member

baude commented Aug 2, 2019

closing this is this is not an upstream problem

@baude baude closed this as completed Aug 2, 2019
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

5 participants