jnsgruk / onedrive-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OneDrive Docker Container

This is a collection of tools to build a Docker container using the skilion/onedrive tool.

All files will be synced into a folder called onedrive under your user's home directory. This can be adjusted by modifying the control.sh script (see the SYNC_DIR variable).

Install Steps

Before starting the build process, ensure docker is installed on the host machine, along with python3 and pip.

git clone https://github.com/jnsgruk/onedrive-docker
cd onedrive-docker/
./control.sh build

When the above command runs, it will present a URL to navigate to. Login to your Microsoft account and once youve authorised the application, you'll be presented with a blank screen. Copy the URL of this blank screen and paste it back into the prompt.

Next, we'll run the container:

./control.sh run

Stopping/Removing

You can restart the container once stopped with ./control.sh start.

The container can be stopped by running ./control.sh stop, and destroyed (removes the image!) by ./control.sh destroy

About


Languages

Language:Python 55.7%Language:Shell 27.4%Language:Dockerfile 16.9%