An OneDrive client in a docker container
100K+
This is a useful tool to synchronize your data between OneDrive (personal account only) and any environment that supports Docker. It uses Ubuntu as base layer and OneDrive Free Client.
docker pull kukki/docker-onedrive
docker run -it --restart on-failure --name docker-onedrive
-v /path/to/onedrive:/onedrive
kukki/docker-onedrive
Note:
/path/to to your actual path of onedrive root and onedrive.conf.--restart on-failure is to set auto-restart when the sync is timeout due to the connection.Copy the URL in the prompt and visit it on your browser.
It authenticates and authorizes your Microsoft account.
After you accept the application, a response URI is updated in the browser.
Copy the URI to the prompt and hit Enter
You can keep the docker container running in the foreground.
-- or --
You can hit CTRL-C to stop it and then re-start the container.
docker start docker-onedrive
Visit Official Guide for reference.
Visit Microsoft Application Registration Portal to add an app.
Mobile application in Platforms.onedrive.conf in your convenient place with the following content:client_id = "";
sync_dir = "/onedrive"
skip_file = ".*|~*"
skip_dir = ".*"
clien_id parameter.onedrive.conf settings, please see this configuration.docker rm docker-onedrive
docker run -it --restart on-failure --name docker_onedrive
-v /path/to/onedrive:/onedrive
-v /path/to/onedrive.conf:/usr/local/etc/onedrive.conf
kukki/docker-onedrive
step 3 and step 4 in Quick Start.Content type
Image
Digest
Size
211.1 MB
Last updated
about 10 years ago
docker pull kukki/docker-onedrive