From 278bc16238046f3c1fbf533642404f133746130a Mon Sep 17 00:00:00 2001 From: Mumshad Mannambeth Date: Thu, 31 May 2018 11:30:57 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a8c83c..7c6d401 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ The above command should only be used for testing purpose as the changes you mak To persist data across docker container restarts use the below command to map volumes from docker container on the docker host. ``` - docker run -p 80:8080 -v /data:/data -v /opt/ansible-projects:/opt/ansible-projects mmumshad/ansible-playable + docker run -p 80:8080 -v /data/db:/data/db -v /opt/ansible-projects:/opt/ansible-projects mmumshad/ansible-playable ``` This command creates two volume maps - /data and /opt/ansible-projects. These directories must pre-exist on the docker host. All changes made by the docker container will now be stored in these folders.