If you are familiar with docker-compose, there is a more elegant approach to setup containers:
Then you can startup your environment with
WebGUI is then accessible at http://localhost:8080/nxmc/nxmc
Of course, if you close the native console you have to start the container again:
or start the container directly by docker start command
Code Select
version: '2'
services:
server:
image: lomo/netxms-server
ports:
- "4700:4700"
webui:
image: lomo/netxms-webui
ports:
- "8080:8080"
environment:
- "NETXMS_SERVER=server"
console:
image: lomo/netxms-nxmc
environment:
- "DISPLAY=$DISPLAY"
volumes:
- "/tmp/.X11-unix:/tmp/.X11-unix"
Then you can startup your environment with
Code Select
docker-compose up
WebGUI is then accessible at http://localhost:8080/nxmc/nxmc
Of course, if you close the native console you have to start the container again:
Code Select
docker-compose start console
or start the container directly by docker start command