Update README.md

This commit is contained in:
Lepetit Paul 2017-02-22 16:59:30 +01:00 committed by GitHub
parent e21199335a
commit 51ce651116

View File

@ -50,7 +50,7 @@ Clone this repository :
> -e OCS_DBUSER=ocs \
> -e OCS_DBPASS=ocs \
> -itd \
> ocsinventory/ocsinventory-docker-image:master \
> ocsinventory/ocsinventory-docker-image:latest \
> bash
----------
@ -113,7 +113,7 @@ Start your OCSInventory container like this:
> -e OCS_DBUSER=ocs \
> -e OCS_DBPASS=ocs \
> -itd \
> ocsinventory/ocsinventory-docker-image:master \
> ocsinventory/ocsinventory-docker-image:latest \
> bash
The option -v /my/own/datadir:/data/save/ocsinventory mounts the /my/own/datadir directory from the host system as /data/save/ocsinventory inside the container.
@ -140,7 +140,7 @@ Run your container:
> -e OCS_DBUSER=ocs \
> -e OCS_DBPASS=ocs \
> -itd \
> ocsinventory/ocsinventory-docker-image:master \
> ocsinventory/ocsinventory-docker-image:latest \
> bash
It is advisable to keep the directories mentioned in the example: