NUC7i5, Ubuntu Server LTS, Docker, Zwave Stick not available

  • Platform information:
    • Hardware: NUC7i5
    • OS: Ubuntu 18 LTS
    • openHAB version: newest

i installed OpenHUB on a new NUC7 on Ubuntu via Docker-Compose.
Heres is my Docker Compose yml

version: '2.2'

    image: "openhab/openhab:2.4.0"
    restart: always
    network_mode: host
    privileged: true
    tty: true
      - "/dev/ttyACM0:/zwaveusbstick:rwm"
      - "/etc/localtime:/etc/localtime:ro"
      - "/etc/timezone:/etc/timezone:ro"
      - "./openhab_addons:/openhab/addons"
      - "./openhab_conf:/openhab/conf"
      - "./openhab_userdata:/openhab/userdata"
      OPENHAB_HTTP_PORT: "8080"
      OPENHAB_HTTPS_PORT: "8443"
      EXTRA_JAVA_OPTS: "-Duser.timezone=Europe/Berlin"

i cannot find the Z-wave USB Aeotec Stick.
i installed the binding but in the Dropdown i cannot see the Zwave Stick.

$ udevadm info /dev/ttyACM0 on Host System gives me the correct infos

ID_MODEL_FROM_DATABASE=Aeotec Z-Stick Gen5 (ZW090) - UZB

any ideas?

Map the device to the same location in the container. I’m all but positive that OH will only look in /dev for tty devices.

i deleted the devices rule cause i read that the privileged rule gives the container all device access.
i deleted the container and started a fresh one. it found the z wave device. but after a restart of the server, its gone again and i cannot find it in openHAB.

Edit… reinstalled Docker… its working now…

2 years later - same error/effect - after security-patching the system - when reboot is done - everythings fine besides the zwave-usb-stick. awkward.
; logs says:
RXTX fhs_lock() Error: opening lock file: /var/lock/LCK…ttyACM0: File exists. It is NOT mine

hmm . i will retry tomorrow.

I am having the same errors , OH docker 3.1.
Is there a solution for this?