On 2/17/23 03:55, GHui Wu via Podman wrote:
I set "export XDG_RUNTIME_DIR=", so it will use
/tmp/containers-user-1253/containers.
But sometimes it'll use /home/myuser/rundir/containers.
In debug log, there is "Overriding run root
"/tmp/containers-user-1253/containers" with
"/home/myuser/rundir/containers" from database".
Why is this happened.
Most likely you have a storage.conf file in your home dir?
~/.config/containers/storage.conf
time="2023-02-14T16:05:51+08:00" level=debug msg="Initializing boltdb
state at /tmp/1253/share/containers/storage/libpod/bolt_state.db"
time="2023-02-14T16:05:51+08:00" level=debug msg="Using conmon from $PATH:
"/home/myuser/.local/container/bin/conmon""
time="2023-02-14T16:05:51+08:00" level=debug msg="Initializing boltdb
state at /tmp/1253/share/containers/storage/libpod/bolt_state.db"
time="2023-02-14T16:05:51+08:00" level=debug msg="Overriding run root
"/tmp/containers-user-1253/containers" with
"/home/myuser/rundir/containers" from database"
time="2023-02-14T16:05:51+08:00" level=debug msg="Using graph driver
overlay"
time="2023-02-14T16:05:51+08:00" level=debug msg="Using graph root
/tmp/1253/share/containers/storage"
time="2023-02-14T16:05:51+08:00" level=debug msg="Using run root
/home/myuser/rundir/containers"
time="2023-02-14T16:05:51+08:00" level=debug msg="Using static dir
/tmp/1253/share/containers/storage/libpod"
time="2023-02-14T16:05:51+08:00" level=debug msg="Using tmp dir
/tmp/podman-run-1253/libpod/tmp"
time="2023-02-14T16:05:51+08:00" level=debug msg="Using volume path
/tmp/1253/share/containers/storage/volumes"
time="2023-02-14T16:05:51+08:00" level=info msg="podman filtering at log
level trace"
_______________________________________________
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io