A dockerfile for gsync (an rsync like interface to google drive)
docker run -it sudsy/gsync --help
docker run -it -v $(pwd):/driveroot -w /driveroot -e "GSYNC_CONFIG_DIR=/driveroot/.gsync" sudsy/gsync -rv drive://gdrivetestfolder .
-v $(pwd):/driveroot This mounts the current working directory as a volume /driveroot inside the docker container.
-w /driveroot This sets the working directory inside the container to the newly mounted /driveroot
-e "GSYNC_CONFIG_DIR=/driveroot/.gsync" This sets an environment variable to tell gsync to use .gsync in our working directory as the configuration folder