How does podman auto create runRoot directory
I have set XDG_RUNTIME_DIR as following. export XDG_RUNTIME_DIR=/.sllocal/log/containers-user-$UID/containers But when I execute "podman info", there output error. $ podman info ERRO[0000] stat /.sllocal/log/containers-user-3088/containers: no such file or directory How does podman auto create runRoot directory?
I have change it to "export XDG_RUNTIME_DIR=/.sllocal/log/containers-user-$UID", and it runs right.
Sorry, I make a mistake. There is also error "ERRO[0000] stat /.sllocal/log/containers-user-3088: no such file or directory".
GHui Wu via Podman <podman@lists.podman.io> writes:
I have set XDG_RUNTIME_DIR as following. export XDG_RUNTIME_DIR=/.sllocal/log/containers-user-$UID/containers
But when I execute "podman info", there output error. $ podman info ERRO[0000] stat /.sllocal/log/containers-user-3088/containers: no such file or directory
How does podman auto create runRoot directory?
the directory specified in XDG_RUNTIME_DIR must already exist.
If I set "export XDG_RUNTIME_DIR=", the /tmp/containers-user-3088 directory will auto create.
participants (2)
-
GHui Wu -
Giuseppe Scrivano