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 lustre.
If I run a container on node1, it will take some record in
~/.local/share/containers/storage/overlay-containers. And run in
/run/user/1000/containers.
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