=== Loading Steam as a container, creating dummy JSON entries ===
* Loading Steam as an image in TAR format:
docker load -i steam.tar
* Check if the image is real:
docker image ls
* Create a simple docker-compose.yml:
version: '2'
SERVICES:
Steam:
image: steam:0.9
volumes:
- /var/steam/:/etc/runtime/share
network_mode: "host"
* Installing Mosquitto to track the creation of entries.
sudo apt-get install mosquitto mosquitto-clients
* Starting the container for the first time.
docker-compose up
* Modification of the settings XML file (under/var/steam/Settings/).
--> ADAS
--> MQTT
192.168.214.152
54011
100
--> ExampleClientPub
--> tcp://localhost:1883
communicationAdapter/hf
testName
testPassword
* Start reading out entries posted in Mosquitto - please start in separate console:
paho_c_sub -t communicationAdapter/hf --connection tcp://localhost:1883
* Restarting the container
docker-compose up
After this, the console named above as "separate console" should output the JSON messages from Steam.