You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A normal user can change the storage configuration, namely, graphroot, rootless_storage_path and runroot via storage.conf in rootless mode, but the result is different based on whether $CONTAINERS_STORAGE_CONF is set or not, even when $CONTAINERS_STORAGE_CONF = $XDG_CONFIG_HOME/containers/storage.conf.
I tested two cases and the results are the following.
When unset $CONTAINERS_STORAGE_CONF ($XDG_CONFIG_HOME/containers/storage.conf exists):
graphroot: used
rootless_storage_path: used only when graphroot not set
runroot: used
When set $CONTAINERS_STORAGE_CONF:
graphroot: not used
rootless_storage_path: used
runroot: not used
In my opinion, both graphroot and runroot are should be used regardless whether $CONTAINERS_STORAGE_CONF is set or not (always prefer the first result).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A normal user can change the storage configuration, namely,
graphroot
,rootless_storage_path
andrunroot
viastorage.conf
in rootless mode, but the result is different based on whether$CONTAINERS_STORAGE_CONF
is set or not, even when$CONTAINERS_STORAGE_CONF = $XDG_CONFIG_HOME/containers/storage.conf
.I tested two cases and the results are the following.
When unset
$CONTAINERS_STORAGE_CONF
($XDG_CONFIG_HOME/containers/storage.conf
exists):graphroot
: usedrootless_storage_path
: used only when graphroot not setrunroot
: usedWhen set
$CONTAINERS_STORAGE_CONF
:graphroot
: not usedrootless_storage_path
: usedrunroot
: not usedIn my opinion, both
graphroot
andrunroot
are should be used regardless whether$CONTAINERS_STORAGE_CONF
is set or not (always prefer the first result).Related issues
#18375
containers/storage#1469
containers/storage#1587
Beta Was this translation helpful? Give feedback.
All reactions