mitcdh / docker-google-drive-ocamlfuse

Mount Google Drive with FUSE within a Docker container
75 stars 19 forks source link

unmount the drive when container exits #5

Closed ammmze closed 7 years ago

ammmze commented 7 years ago

fix DRIVE_PATH so its not hard coded. use exec when running gdfuser and run google-drive-ocamlfuse in foreground (-f flag) so that when the container stops it will unmount properly and not leave the mount in a broken state. this allows you to restart the container without manually running some unmount flag to get it to start up again

mitcdh commented 7 years ago

Thanks!