For the Berlin Hack and Tell I use a Raspberry Pi 4 connected to an LCD and external LED matrix to run the show and tell. It display a countdown timer, collect votes, etc… and uses both Ethernet and Wifi.
@mpous , I need to use a docker-compose.yml file so that I can specify which host devices I need access to. But I don’t understand how this is done with balena and if the balena.yml is the same thing?
no! balena.ymlis a contract that we use internally at balena to deploy projects and use them on balenaHub, but nothing related with docker-composethat is being use to define the services that will be deployed on the fleet.
I’ve setup a docker-compose.yml with the following. But my program is having issues detecting the framebuffer device and the python program exits immediately. How can I SSH into the container to troubleshoot? I need to override the CMD command to run a shell since my program is exiting.
$ echo "ls -l /dev; exit;" | balena ssh 192.168.1.129 hackandtell-pygame
Error response from daemon: Container 34021c940f85ca3e9926a0ef6b5460920290f8bc6ccbae4cfe72657c890fa2c5 is restarting, wait until the container is running
Warning: ssh process exited with non-zero code "1"