Hi Jonathan
Here is an example for using the local storage
docker run -d -p 7171:7171 -p 7870:7870 -p 7871:7871 -e "JAVA_OPTS=-DTYPE=MVCM -DFS_DIR=/data/" -v c:\data:/data cm:latest
docker run -d -p 7077:7077 -e "JAVA_OPTS=-DTYPE=MVCM -DFS_DIR=/data/" -v c:\data:/data cmadmin:latest
I have tried the below examples using Docker for desktop but should work for any docker environment. In case of docker for desktop , you need to add the host folder into the
docker for desktop => Resources section.
The important parameter
-DFS_DIR wherein I have specified volume
/data to be used for retrieving/modifying the cm.ini
I have mounted
/data/ to
c:\data folder. Please make sure that you drop cm.ini into this folder before starting the container.
Hope this helps
Thanks
------------------------------
Amey Rokde
Rocket Software
------------------------------
Original Message:
Sent: 08-10-2020 03:41
From: Jonathan Evans
Subject: Using MVIS with Docker and local storage
I've been looking into Docker with a view to using it with MVIS.
The manual is very short on examples, only covering using Azure for storage.
I did see the deployment scripts, but these also lack any documentation.
Does anyone have examples of MVIS working with docker local storage?
------------------------------
Jonathan Evans
MBS
------------------------------