Octoprint using Docker compose on Ubuntu 18.04

Hi there,

I recently bought a Ender 3 Pro, and I have a server at home running Ubuntu 18.04, so I figured I would use that and docker to connect to my printer.

I have experienced a few odd behaviours and not sure what it could be:

  1. I'm not able to manually select both port and baudrate, I need to set at least one of the to AUTO for it to be able to connect
  2. After about 10-15 minutes it disconnects with the issue:
2022-03-18 08:17:04,692 - Recv: 
2022-03-18 08:17:05,779 - Unexpected error while reading serial port, please consult octoprint.log for details: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:3940
2022-03-18 08:17:05,780 - Please see https://faq.octoprint.org/serialerror for possible reasons of this.

I've tried running it both using privileged as well as adding specific devices. It this something someone else have encountered? Currently I'm not able to use Octoprint because of this.

Thanks in advance.