orchestracities / lego-diorama-usi-2022

This repository hosts code, configuration and documentation to deploy Orchestra Cities lego diorama.
Apache License 2.0
0 stars 0 forks source link

dockerize code for pi scenarios (1 container per scenario) #12

Open chicco785 opened 2 years ago

Solargi commented 1 year ago

Docker containers are done and they can communicate with the mosquitto broker without problems but for some reason trying to execute the ev-charging.py and parking.py from the Docker file with the following comand: CMD ["sudo", "python", "parking.py", "&", "sudo", "python", "ev-charging.py"] doesn't work. The problem seems to be the ic2 ports but weirdly enough by entering the container and executing the command by hand from the shell works fine.