-
Notifications
You must be signed in to change notification settings - Fork 223
pkg/config: rework testing and add new containers.rootless.conf search location #2499
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
Changes from 1 commit
40e22ba
37e9def
85ac702
a11d41e
2aaff5f
5d22b5a
6c30f0c
f0ed5ca
527d275
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,9 @@ a TOML format that can be easily modified and versioned. | |
|
|
||
| Container engines read the __/usr/share/containers/containers.conf__, | ||
| __/etc/containers/containers.conf__, and __/etc/containers/containers.conf.d/\*.conf__ | ||
| for global configuration that effects all users. | ||
| for global configuration that affects all users. | ||
| For global configuration that only affects rootless users use __/etc/containers/containers.rootless.conf__, | ||
| __/etc/containers/containers.rootless.d/\*.conf__ and __/etc/containers/containers.rootless.d/\$UID/\*.conf__. The UID is the user's uid which podman runs under so it can be used to specify a certain config for only a single user without having to put the config into the user's home directory. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you should split
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mhh I read globally different here. Globally to me == system directories in this context. How should this be worded instead then? tbf I think the entire paragraph is just pointless noise and hard to parse. I think just listing each location in the right order like I have in the design docs is likely the most logical. |
||
| For user specific configuration it reads __\$XDG_CONFIG_HOME/containers/containers.conf__ and | ||
| __\$XDG_CONFIG_HOME/containers/containers.conf.d/\*.conf__ files. When `$XDG_CONFIG_HOME` is not set it falls back to using `$HOME/.config` instead. | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.