On 4/27/22 05:10, Giuseppe Scrivano wrote:
None via Podman <podman(a)lists.podman.io> writes:
> I have 2 node in cluster, node1 and node2. They share the same HOME directory with
> If I run a container on node1, it will take some record in
~/.local/share/containers/storage/overlay-containers. And run in
> But on node2 there is not /run/user/1000/containers. Because of share
> HOME directory, there is
> ~/.local/share/containers/storage/overlay-containers on node2. So
> there is some error on node2.
> How could I redirect ~/.local/share/containers/storage/overlay-containers to the
local directory on node1 and node2?
You need to use a different storage for the second node, so on node2 you
need to use something like: podman --root ~/.local/share/containers/storage-2
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io
You can permanently do this in /etc/containers/storage.conf
# rootless_storage_path = "$HOME/.local/share/containers/storage"