Replies: 1 comment
-
Have you tried a containers.conf file?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am running openSUSE with SELinux, with 2 mount points like this

When creating Podman volume, it is using the directory
$HOME/.local/share/containers/storage/volumes
. Unfortunately, this directory is on the mount with limited capacity. This, when I was running NextCloud, I quickly ran out of disk space.I created another directory
/var/lib/$USER/containers/storage
, and then I copied the volumes over, and tried:/etc/containers/storage.conf
, both therootgraph
androotless_storage_path
, with no success$HOME/.config/containers/storage.conf
, and did the same thing without success. Volumes are still being created at the old default location.When those still do not work, I then created a symlink from
$HOME/.local/share/containers/storage/volumes
to/var/lib/$USER/containers/storage/volumes
. Now, volumes can be created, but containers cannot use the volume because the error is not enough space (I have already cleared out space, so this error might be SELinux related).Could you point me to the config that I can reliably change the default storage location for rootless Podman? It is okay that I lose my data now, rather than later.
Beta Was this translation helpful? Give feedback.
All reactions