

5·
1 day agoFirsts look at what volumes are, then look at the Volume= quadlet option and remember that any data not part of a volume is going to be deleted.
Once you set up a volume you can just copy data inside of it from the host using the path you specified in the Volume and access it inside the container using the target path you specified in the volume.
If you only want to copy something once then you can use podman cp
(though you will still need volumes if your container has any persistent data!)
Ftfy