Docker(/Compose) can do mounts directly to the container as well.
https://blog.stefandroid.com/2021/03/03/mount-nfs-share-in-docker-compose.html
https://docs.docker.com/engine/storage/volumes/#create-a-service-which-creates-an-nfs-volume
I’ve used NFS mounts with docker compose before but I see the second link also includes an example for CIFS as well.
yournamehere@lemm.ee 9 months ago
“obviously”… dont get over yourself. theres been requests.plenty.
migration is also much easier. i think only edgelords prefer mouting in host and container.