Thank you. I’ll try.
Comment on Volume mounting in a Docker container
roofuskit@lemmy.world 2 days ago
Mount it locally. Then reference the local mount in your docker command or compose file.
modus@lemmy.world 2 days ago
Comment on Volume mounting in a Docker container
roofuskit@lemmy.world 2 days ago
Mount it locally. Then reference the local mount in your docker command or compose file.
Thank you. I’ll try.
spiffpitt@lemmy.world 2 days ago
I’m constantly seeing this advice, dispite docker supporting nfs volumes. How do you handle docker starting containers before the shares are mounted? making the docker service as a whole wait for network mounts? what about containers that dont need to wait for a network drive?
roofuskit@lemmy.world 2 days ago
Honestly I’ve never had that issue, but if you use compose you can delay the start of a container and use the “depends-on” function to hold any other containers. But yes docker supports both NFS and SMB.