Sign inSign up

synomi/gdrive

By synomi

Updated about 11 years ago

Image
1

179

synomi/gdrive repository overview

This is my first container, made it for automated backups to google drive. Might be making automated build later on.

Based on Google drive by https://github.com/odeke-em/drive

You will might need to go deloper console and create project and enable Google Drive API for it and you may need to create OAUTH tokens too. When i was trying to get this to work, I was trying to use env variables GOOGLE_API_CLIENT_SECRET AND GOOGLE_API_CLIENT_ID, but seems they are not needed. Maker of drive application says: "Optionally set the GOOGLE_API_CLIENT_ID and GOOGLE_API_CLIENT_SECRET environment variables to use your own API keys.".

Run container with: docker run -id synomi/gdrive:v0.1

Then use docker exec or docker attach to enter into container and execute: drive init ~/gdrive Follow the instructions(link) to get the authorization key.

Test: drive pull /root/gdrive drive push /root/gdrive

More info on Google Drive https://github.com/odeke-em/drive

Use docker inspect to find path for _data folder.

Tag summary

Content type

Image

Digest

sha256:5ab47b9f7

Size

323.9 MB

Last updated

about 11 years ago

docker pull synomi/gdrive:v0.1