Comment on Volume mounting in a Docker container
rtxn@lemmy.world 2 days ago
Mount the network share (fstab or mount.cifs), and pass the login using the username= and password= mount options. Then point the volume at the mount point’s path.
modus@lemmy.world 2 days ago
Thank you. So the un/pw is only entered in the Ubuntu mount, not in the Docker file?
Sunny@slrpnk.net 2 days ago
Yes ☺️