Disable console over Serial in Dev on RPi3?

Is it possible something installed in the Docker image influence what’s happening on the host ?

So far I thought the only interactions where :

  • volumes (containers writing datas visible by host in volume directories)
  • ports (you set a port mapping so each listening container port corresponds to a listening host port).

Are there low level interactions which would allow some process running in the container to write on /dev/ttyAMA0 from the container ?

UPDATE : one thing I’ve just learnt is the baudrate has to be set to 1200 to receive anything.

So on the working card, if I do stty -F /dev/ttyAMA0 9600, my cat doesn’t display anything, and if I set back to 1200, it works back, clearly it’s a necessary condition. And stty may persist the baudrate setting somewhere, since it’s always working on our first card, even after reboot.

Knowing this, I’ve tried to set baudrate on my other cards with no sucess.