From 54f0279a5ce02bc071cb462ca44aa4e139d25ee3 Mon Sep 17 00:00:00 2001 From: Cauly Kan Date: Wed, 23 Jan 2019 12:46:41 +0800 Subject: [PATCH] fix wrong build instructions --- docker/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docker/README.md b/docker/README.md index 26cdd4a4..254a2824 100644 --- a/docker/README.md +++ b/docker/README.md @@ -91,7 +91,11 @@ docker rm -f onedrive Onedrive should run in default configuration, but however you can change your configuration. First download the default config from [here](https://raw.githubusercontent.com/abraunegg/onedrive/master/config) -Then put it into your onedrive_conf volume: `/var/lib/docker/volumes/onedrive_conf/_data` +Then put it into your onedrive_conf volume path, which can be found with: + +```bash +docker volume inspect onedrive_conf +``` Or you can map your own config folder to config volume (copy stuffs from docker volume first) @@ -116,6 +120,7 @@ docker run $firstRun --restart unless-stopped --name onedrive -v onedrive_conf:/ ```bash git clone https://github.com/abraunegg/onedrive -cd onedrive -docker build . -f docker/Dockerfile -t driveone/onedrive +cd onedrive/docker +git clone https://github.com/abraunegg/onedrive +docker build . -t driveone/onedrive ```