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.
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.