Grive – A Dockerized Google Drive Client for Linux

Not too long ago I reviewed Grive2 as an alternative Google Drive client for Linux. Today, I’ll introduce you to Grive, a Docker implementation for the Google Drive client, Grive2.

Docker (if you don’t already know what it is), is a tool designed to benefit both system admins and developers thanks to its use of containers. Docker’s containers provide a way for developers to create and distribute their apps using containers.

All the app dependencies and libraries are bundled and shipped in a single package and will be able to run on any Linux distro irrespective of the custom settings of other distros.

For system admins, it provides them the flexibility of not needing that many number of systems to test applications and execute certain operations. Docker is open-source and is therefore free to use and extended to fit users’ needs.

Grive is a CLI open-source Google Drive client implementation of Grive2 using Docker. This means that you can install and use it on any Linux distro of your choice without worrying about security and update issues.

Features in Grive

  • FOSS – free and open-source.
  • Flexibility – thanks to its use of Docker containers.
  • Command Line Interface – interact with grive using straight-forward commands in your terminal.

Installation and Usage of Grive on Linux

The first time you run Grive use the following commands to download.

$ docker pull ashael/grive
$ mkdir /home/MyGoogleDriveFoldeName
$ cd /home/MyGoogleDriveFoldeName
$ docker run  -it -v $PWD:/home/grive -w /home/grive grive

Next, while inside the Container, enter:

$ grive -a

After the initial setup, all you have to do is sync your account using the command below:

$ docker run --rm -v $PWD:/home/grive -w /home/grive --name "Gdrive" -u $(id -u):$(id -g) ashael/grive grive

That’s all folks. So, if you aren’t happy with Grive2 you can always check out Grive – I’m sure it is a more appealing alternative to Docker enthusiasts. But whether or not it’s your cup of tea, one of the beauties of Linux is the freedom to pick from a variety of options.

Are you already a user of Grive or will you just give it a try now? Tell us what you think about it in the comments section below.

Divine Okoi is a cybersecurity postgrad with a passion for the open-source community. With 700+ articles covering different topics in IT, you can always trust him to inform you about the coolest tech.

Each tutorial at GeeksMint is created by a team of experienced writers so that it meets our high-quality writing standards.

Got Something to Say? Join the Discussion...