Onedrive

Onedrive

Docker app from BVersluis' Repository

Overview

A free Microsoft OneDrive Client which supports OneDrive Personal, OneDrive for Business, OneDrive for Office365 and SharePoint.

Installation:

  • Before creating the Onedrive docker container, make sure you created a configuration and data folder first (see template).
  • Install the Onedrive docker container using the template.
  • Once installed, stop the docker container and find the container ID. (In the right upper corner of the docker page, switch over from ‘Basic view’ to ‘Advanced view’. Now you can see the Container ID for your newly created container (for example 72409c107bd0). Copy this ID.)
  • Open the Unraid terminal and type: docker start your_container_ID --interactive (use right mouse --> paste to paste your container ID in the terminal).
  • After entering the command and pressing enter, the container starts in interactive mode and a link to a Microsoft login page is shown in the terminal. You can open this link by clicking on it and log in with the Microsoft credentials of the Onedrive account you want to add. If successful, a blank page is shown. Copy the full address of this page and past it (right mouse and paste) in the terminal as the response URL and press enter. If the link is accepted, the client immediately starts downloading your files.
  • You can close the terminal, restart the container normally and everything should be working from now on.
  • For every Onedrive account you want to sync with Unraid, you need to create a new docker container with a different folder for the configuration and data files.

Runtime arguments

Network
bridge
Shell
sh
Privileged
false
Extra Params
-it

Template configuration

ConfigurationPathrw

Location of the container configuration folder. Create this folder before start the container for the first time! For example: /mnt/user/appdata/onedrive When syncing multiple accounts, for each account a separate docker install is needed with a (sub)folder for the configuration files, for example: /mnt/user/appdata/onedrive/userA

Target
/onedrive/conf/
DataPathrw

Location of the container data folder, where your onedrive files are stored. Create this folder before start the container for the first time! For example: /mnt/user/onedrive When syncing multiple accounts, for each account a docker install is needed with a (sub)folder for the data files, for example: /mnt/user/onedrive/userA

Target
/onedrive/data
UIDVariable

In the Unraid WebUI open the terminal and type ‘id username’ for every user with an onedrive account you want to install an Onedrive container for and write down the UID and GID for these users.

Target
ONEDRIVE_UID
Default
999
Value
999
GIDVariable

In the Unraid WebUI open the terminal and type ‘id username’ for every user with an onedrive account you want to install an Onedrive container for and write down the UID and GID for these users.

Target
ONEDRIVE_GID
Default
99
Value
99

Categories

Download Statistics

3,154,445
Total Downloads
21,105
This Month
18,530
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
driveone/onedrive:latest
Last Updated2026-05-10
First Seen2023-01-22

Run Onedrive on Unraid.

Onedrive is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.