Repeated changing of symlink to /var/lib/containers/storage
People, I have been making good use of podman - thanks to all who have helped with dev! - but it is convenient for me to group containers for the same project together in the same storage and symlink the appropriate storage dir to: /var/lib/containers/storage and when I need to change to another project's storage I have just been deleting the symlink and creating a new one to the next project's storage dir. This has been working fine for some time but more recently going through this change of storage has been resulting in this error when I try to do something with the new storage: "Error: database static dir "" does not match our static dir "/home/storage_podman_liph_20230719_1400_f38_python3.11_memgpt/libpod": database configuration mismatch" How do I find out more about this empty "static dir" string so I can hopefully fix my problem? Thanks, Phil. -- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: phil@pricom.com.au
People, On 2024-07-19 21:31, Philip Rhoades via Podman wrote:
People,
I have been making good use of podman - thanks to all who have helped with dev! - but it is convenient for me to group containers for the same project together in the same storage and symlink the appropriate storage dir to:
/var/lib/containers/storage
and when I need to change to another project's storage I have just been deleting the symlink and creating a new one to the next project's storage dir. This has been working fine for some time but more recently going through this change of storage has been resulting in this error when I try to do something with the new storage:
"Error: database static dir "" does not match our static dir "/home/storage_podman_liph_20230719_1400_f38_python3.11_memgpt/libpod": database configuration mismatch"
How do I find out more about this empty "static dir" string so I can hopefully fix my problem?
I should have said I have tried putting these lines in /home/containers.conf: wrk="/home/storage_podman_liph_20230719_1400_f38_python3.11_memgpt" static_dir = "$wrk/libpod" and running: podman --config "/home/containers.conf" images - and I still got the same error . . Thanks, Phil. -- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: phil@pricom.com.au
participants (1)
-
Philip Rhoades