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

Most Rootless Containers need the $XDG_RUNTIME_DIR #70

Closed
abitrolly opened this issue Feb 15, 2025 · 1 comment · May be fixed by #72
Closed

Most Rootless Containers need the $XDG_RUNTIME_DIR #70

abitrolly opened this issue Feb 15, 2025 · 1 comment · May be fixed by #72
Labels

Comments

@abitrolly
Copy link

From https://rootlesscontaine.rs/getting-started/common/login/

Most Rootless Containers implementations need the $XDG_RUNTIME_DIR environmental variable to be set. When the environment variable is not set, features related to systemd and cgroups are unlikely to work properly.

Which features are related to systemd and cgroups? Is it possible to go without them? If yes, what are the implications?

@AkihiroSuda
Copy link
Member

Which features are related to systemd and cgroups?

docker run --cpus, --memory, --pids-limit, etc.

Is it possible to go without them?

Yes, if you do not need them

If yes, what are the implications?

docker run --cpus, --memory, --pids-limit, etc. do not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants