Synology: Docker image (Debian, 2.5.0) fails (web interface)

Maybe you’ll have better luck starting the container from the console. When it is started you can still use the Synology UI to interact with the container. I had luck with the following docker-compose.yml file:

version: '2.2'

services:
  openhab_test: #name of the service
    container_name: openhab_test
    image: "openhab/openhab:2.5.0-debian"
    restart: always
    network_mode: host
    volumes:
      - "/etc/localtime:/etc/localtime:ro"
      - "/etc/TZ:/etc/timezone:ro"
      - "./addons:/openhab/addons"
      - "./conf:/openhab/conf"
      - "./userdata:/openhab/userdata"
    environment:
      USER_ID: "1026"
      OPENHAB_HTTP_PORT: "18080"
      OPENHAB_HTTPS_PORT: "18443"
      EXTRA_JAVA_OPTS: "-Duser.timezone=Europe/Berlin -Dgnu.io.rxtx.SerialPorts=/dev/usbZwave"
      LC_ALL: "en_US.UTF-8"
      LANG: "en_US.UTF-8"
      LANGUAGE: "en_US.UTF-8"

Save that file in the folder you wish to contain th econfiguration. You can then start the container with (possibly using sudo)

docker up -d

If it doesn’t work straight away, there is a lot more help in this thread: