I am using a Beagle bone black to implement an application which send/receives serial data from the device connected to BBB on port /dev/ttyS0 . I can see the /dev/ttyS0 is listed in host os using the command “ls /dev” , but the same is not listed inside the docker so that application cannot able to send/receive the commands.
Following are the configuration for my docker-compose file.
FROM balenalib/raspberrypi3-64-ubuntu-python:3.10.8
Now clean up some direction in devices: - /dev/ttyS0
Parameters v2 like /dev :/dev… are redundant
Enable Serial device in Devices configuration as of documentation * The mini UART is now available on /dev/ttyS0. This is disabled by default for production images and enabled by default for development images.