This guide will show you how to properly get the vNode docker image and run the container as well.
First of all we have to have docker desktop for windows or docker app for Linux.
You can check the tutorial Windows | Docker Docs or Linux | Docker Docs to have the environment ready.
Next step is to run the docker pull command to get the latest image: docker pull vesterbusiness/vnode_1_21_11_mongo:1_0
Check image is downloaded correctly with docker images:
USING COMPOSE
Next step will be to download the necessary files compose file: compose.yaml , Entrypoint.sh: Entrypoint.sh and vNode installer: vnode-setup-linux-x64-1.21.11-241029.0954.tar.gz | vnode-setup-windows-x64-1.21.11-241029.0954.exe
Move these files to a directory in the host machine, and from this folder run the container with docker compose up -d.
Output should look like this:
Then we can access our docker using our browser with the IP of the OS and port.
CONFIGURATION OF HISTORIAN MODULE
This docker image comes up also with a docker container of MongoDB, necessary for making the historian module configuration.
We have to make sure we are using a External MongoDB in the configuration for the correct historization of the tags.
DOCKER CONTAINER START
Another option, is to first create a container to store the configuration and then run this container.
You should do the docker pull vesterbusiness/vnode_1_21_11_mongo:1_0 if you didn't do before.
Let's start with docker container create -p 8004:8003 --name vNode_1_21_11 vesterbusiness/vnode_1_21_11_mongo:1_0
-p is to map the ports outside the machine to the port we want.
Then we run the container with docker start vNode_1_21_11
And we do the same, IP of the guest machine and port for vNode access.
You can create as many containers you want with one image and run them, so you have with different output ports multiple vNode running at the same time in the same VM.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article