RPI Hass Docker installation - unable to read P1 meter via USB

After failing to install Hass via core installation (complete dependancy hell), I decided to give Docker a go. Hmm, this would have saved me two frustrating evenings…

docker run -d \ --name homeassistant \ --privileged \ --restart=unless-stopped \ -e TZ=MY_TIME_ZONE \ -v /srv/homeassistant:/config \ --network=host \ ghcr.io/home-assistant/home-assistant:stable

It works well, netstat -an | grep 8123 shows the port is listening.
And I can surf to the Hass home page and create a local account.

Next step, I have a Landis+Gyr 360. I connected a RJ12 to the meter and plugged the other end into USB port of the RPI.

Ok, now I need to forward the USB0 from RPI to the Docker application.
Here I used the following script, modified it slightly to match the docker install for /srv/homeassistant.

docker run --device /dev/ttyUSB0:/dev/ttyUSB0 -d --name="home-assistant" -v /srv/homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host ghcr.io/home-assistant/home-assistant

When I try to add the DSMR integration, it gives the following error.
Capture

Is there any way I can check Docker that the USB port forwarding has correctly been setup?
Any pointers in the right direction are greatly appreciated.

Hi Peter,

Check https://community.home-assistant.io/t/free-manual-usb-device-name-for-dsmr-integration/566411

And if you want to check the ports inside the container :
Find the docker container id with docker ps
Connect inside the docker container with "docker exec -it container_id /bin/bash
Check the ports s -l /dev/ttyUSB*

Jo.