1
0
Fork 0
mirror of https://github.com/mmumshad/ansible-playable.git synced 2025-02-12 19:51:53 +00:00

Update README.md

This commit is contained in:
Mumshad Mannambeth 2018-05-31 11:30:57 +08:00 committed by GitHub
parent cbf9671cf2
commit 278bc16238
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.