Need help creating add-on virtual-dsm

Hello,

there it this one docker container which I need which isn’t included in HA. So as requested I wanted to create an add-on.
I copied the complete source to the add-on container

and then created a config.yml.

name: "virtual_dsm"
description: "virtual_dsm"
version: "0.1.8"
slug: "dsm"
init: false
arch:
  - aarch64
  - amd64
  - armhf
  - armv7
  - i386
ports:
  5000/tcp: 5000
privileged:
  - NET_ADMIN
devices:
  - /dev/kvm
options:
    dsm:
        image: vdsm/virtual-dsm:latest
        # environment:
        #     DISK_SIZE: "16G"
        #     RAM_SIZE: "1G"
        #     CPU_CORES: "1"
        device_cgroup_rules:
            - 'c *:* rwm'
        volumes:
            - /var/dsm:/storage
        restart: on-failure
        stop_grace_period: 2m
schema:
    dsm:
        image: str
        # environment:
        #     DISK_SIZE: str
        #     RAM_SIZE: str
        #     CPU_CORES: str
        device_cgroup_rules:
            - str
        volumes:
            - str
        restart: str
        stop_grace_period: str
# services:
#     dsm:
#         container_name: dsm
#         image: vdsm/virtual-dsm:latest
#         environment:
#             DISK_SIZE: "16G"
#             RAM_SIZE: "1G"
#             CPU_CORES: "1"
#         devices:
#             - /dev/kvm
#         device_cgroup_rules:
#             - 'c *:* rwm'
#         cap_add:
#             - NET_ADMIN
#         ports:
#             - 5000:5000
#         volumes:
#             - /var/dsm:/storage
#         restart: on-failure
#         stop_grace_period: 2m

and the containter starts,
it starts installing the docker, I can follow on port 5000 as configured.
then when the docker seems to be ready I cannot connect to port 5000 anymore.
I’m struggling for a while but seem to be missing something obvious.

Can someone point me to the right direction of help me out?