In the container gladys-z2m-zigbee2mqtt, the dongle’s port is always /dev/ttyACM0 (that was to make configuration easier).
You will still find in /var/lib/gladysassistant/zigbee2mqtt/z2m/configuration.yaml
serial:
port: /dev/ttyACM0
The mapping between the host port (the real one) and the container’s is indeed done when the container is created (or on reactivation if there’s a change).
"Devices": [
{
"PathOnHost": "/dev/ttyUSB0",
"PathInContainer": "/dev/ttyACM0",
"CgroupPermissions": "rwm"
}
],
I created an issue, I can take a look.