You can run the XRT BACnet/MSTP Device Service in a docker container.
The following examples use the
iotechsys/xrt:2.0 docker image.
To run the containerized XRT BACnet/MSTP Device Service, the container must be able to access the serial device
on the host that is set as the Driver option
SerialInterface in the device service configuration file.
This can be done by using the
--device flag, providing the path to the device. An example path is provided:
Run XRT with BACnet/MSTP
In the following example,
xrt-bacnet-mstpprovides the name of the running container,
docker run --rm --name xrt-bacnet-mstp \ -v <deployment_directory>/deployment:/opt/iotech/xrt/2.0/deployment \ --device /dev/tty/USB0 iotechsys/xrt:2.0 [time_in_seconds]