From 16daf5e72b64eaa628dd0de56c690787906cc244 Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Thu, 12 Nov 2015 15:29:58 +0100 Subject: [PATCH] Add Windows-specific Docker instructions to README --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 580584169..337c33341 100644 --- a/README.md +++ b/README.md @@ -15,14 +15,20 @@ docker run --rm -p 4242:4242 -p 8042:8042 jodogne/orthanc-plugins #### Persistent data storage 1. Create a persistant data volume for Orthanc to use -```` -docker create --name sampledata -v /sampledata jodogne/orthanc-plugins -```` + ```` + docker create --name sampledata -v /sampledata jodogne/orthanc-plugins + ```` + + **Note: On Windows, you need to use an absolute path for the data volume, like so:** + + ```` + docker create --name sampledata -v '//C/Users/erik/sampledata' jodogne/orthanc-plugins + ```` 2. Run Orthanc from Docker with the data volume attached -```` -docker run --volumes-from sampledata -p 4242:4242 -p 8042:8042 jodogne/orthanc-plugins -```` + ```` + docker run --volumes-from sampledata -p 4242:4242 -p 8042:8042 jodogne/orthanc-plugins + ```` 3. Upload your data and it will be persisted