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
------------------------------
Page 1 / 1
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
------------------------------
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
------------------------------
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
------------------------------
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
------------------------------
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
------------------------------
That was very useful. I did find I needed to add a u2rest sub-directory to \\data to get MVIS working smoothly, but now all works well.
------------------------------
Jonathan Evans
MBS
------------------------------
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.