diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-05-19 08:22:13 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-05-19 15:35:59 -0400 |
commit | 55f00bac02fcde7fbe960a9a80131dbc72630b5b (patch) | |
tree | b1d1c8b9357acd4d065de3cd5f8d98f3266c0150 /docs | |
parent | 4c756268e6d0dbe90e61a59d9644e34a0f2d5f36 (diff) | |
download | podman-55f00bac02fcde7fbe960a9a80131dbc72630b5b.tar.gz podman-55f00bac02fcde7fbe960a9a80131dbc72630b5b.tar.bz2 podman-55f00bac02fcde7fbe960a9a80131dbc72630b5b.zip |
Clear the storage-options from the graphdriver if users specifies --root
Fixes: https://github.com/containers/podman/issues/10393
Currently if a user specifies a --root flag to override the location of
the container storage, we still enforce the storage-opts from
storage.conf. This causes issues with people trying to intereact with
the additional stores feature, and then forces them to use the obscure
--storage-opt="" option. I belive this should be the default and we
already do this when the user specifies the --storage-driver option.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/markdown/podman.1.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/markdown/podman.1.md b/docs/source/markdown/podman.1.md index ab4be1307..734d00971 100644 --- a/docs/source/markdown/podman.1.md +++ b/docs/source/markdown/podman.1.md @@ -120,6 +120,8 @@ Remote connections use local containers.conf for default. Storage root dir in which data, including images, is stored (default: "/var/lib/containers/storage" for UID 0, "$HOME/.local/share/containers/storage" for other users). Default root dir configured in `/etc/containers/storage.conf`. +Overriding this option will cause the *storage-opt* settings in /etc/containers/storage.conf to be ignored. The user must specify additional options via the `--storage-opt` flag. + #### **--runroot**=*value* Storage state directory where all state information is stored (default: "/run/containers/storage" for UID 0, "/run/user/$UID/run" for other users). |