Unfortunately I got nowhere.
osmc@Vero:~$ sudo docker start -a unifi-controller
standard_init_linux.go:190: exec user process caused "exec format error"
and when using events&
, something I found online to see the events of docker:
osmc@Vero:~$ sudo docker run -debug -d --name=unifi-controller --net=host -p 8080:8080/tcp -p 8081:8081/tcp -p 8443:8443/tcp -p 8843:8843/tcp -p 8880:8880/tcp -p 3478:3478/udp jacobalberty/unifi:latest -debug
2018-11-19T14:57:25.989011314+01:00 2018-11-19T14:57:25.989011314+01:00 volume create 34e1b2dd200809d1a9f294d8da9fd22de684b82608be5ff84f4d963e76f8a986volume create 34e1b2dd200809d1a9f294d8da9fd22de684b82608be5ff84f4d963e76f8a986 (driver=local) (driver=local)
2018-11-19T14:57:26.007759911+01:00 2018-11-19T14:57:26.007759911+01:00 volume create bb2e54cbed0aa5d7feb9e5da37cdcaa197f164a5c5fe3be0b4b8db708191266e (driver=local)
volume create bb2e54cbed0aa5d7feb9e5da37cdcaa197f164a5c5fe3be0b4b8db708191266e (driver=local)
2018-11-19T14:57:26.068714268+01:00 container create c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030 (image=jacobalberty/unifi:latest, maintainer=Jacob Alberty <jacob.alberty@foundigital.com>, name=unifi-controller)
2018-11-19T14:57:26.068714268+01:00 container create c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030 (image=jacobalberty/unifi:latest, maintainer=Jacob Alberty <jacob.alberty@foundigital.com>, name=unifi-controller)
WARNING: Published ports are discarded when using host network mode
c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030
2018-11-19T14:57:26.119584269+01:00 2018-11-19T14:57:26.119584269+01:00 network connect d7489d4e4a9feebfff3f500e0f38a0c2588460e5de3200830101bb2c71a8271dnetwork connect d7489d4e4a9feebfff3f500e0f38a0c2588460e5de3200830101bb2c71a8271d (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, name=host, type=host) (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, name=host, type=host)
2018-11-19T14:57:26.143718990+01:00 volume mount 34e1b2dd200809d1a9f294d8da9fd22de684b82608be5ff84f4d963e76f8a986 (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, destination=/unifi, driver=local, propagation=, read/write=true)
2018-11-19T14:57:26.144140666+01:00 volume mount bb2e54cbed0aa5d7feb9e5da37cdcaa197f164a5c5fe3be0b4b8db708191266e (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, destination=/var/run/unifi, driver=local, propagation=, read/write=true)
2018-11-19T14:57:26.143718990+01:00 volume mount 34e1b2dd200809d1a9f294d8da9fd22de684b82608be5ff84f4d963e76f8a986 (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, destination=/unifi, driver=local, propagation=, read/write=true)
2018-11-19T14:57:26.144140666+01:00 volume mount bb2e54cbed0aa5d7feb9e5da37cdcaa197f164a5c5fe3be0b4b8db708191266e (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, destination=/var/run/unifi, driver=local, propagation=, read/write=true)
2018-11-19T14:57:26.812249169+01:00 container start c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030 (image=jacobalberty/unifi:latest, maintainer=Jacob Alberty <jacob.alberty@foundigital.com>, name=unifi-controller)
2018-11-19T14:57:26.812249169+01:00 container start c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030 (image=jacobalberty/unifi:latest, maintainer=Jacob Alberty <jacob.alberty@foundigital.com>, name=unifi-controller)
osmc@Vero:~$ 2018-11-19T14:57:26.942099900+01:00 2018-11-19T14:57:26.942099900+01:00 container die c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030container die c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030 (exitCode=1, image=jacobalberty/unifi:latest, maintainer=Jacob Alberty <jacob.alberty@foundigital.com>, name=unifi-controller)
(exitCode=1, image=jacobalberty/unifi:latest, maintainer=Jacob Alberty <jacob.alberty@foundigital.com>, name=unifi-controller)
2018-11-19T14:57:26.966487793+01:00 2018-11-19T14:57:26.966487793+01:00 network disconnect d7489d4e4a9feebfff3f500e0f38a0c2588460e5de3200830101bb2c71a8271dnetwork disconnect d7489d4e4a9feebfff3f500e0f38a0c2588460e5de3200830101bb2c71a8271d (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, name=host, type=host) (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, name=host, type=host)
2018-11-19T14:57:27.047828202+01:00 volume unmount 34e1b2dd200809d1a9f294d8da9fd22de684b82608be5ff84f4d963e76f8a986 (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, driver=local)
2018-11-19T14:57:27.048170418+01:00 volume unmount bb2e54cbed0aa5d7feb9e5da37cdcaa197f164a5c5fe3be0b4b8db708191266e (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, driver=local)
2018-11-19T14:57:27.047828202+01:00 volume unmount 34e1b2dd200809d1a9f294d8da9fd22de684b82608be5ff84f4d963e76f8a986 (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, driver=local)
2018-11-19T14:57:27.048170418+01:00 volume unmount bb2e54cbed0aa5d7feb9e5da37cdcaa197f164a5c5fe3be0b4b8db708191266e (container=c8820876ece6b25013435c658e16c21698428e40635ef941fb54c5c206171030, driver=local)
^C
all I can find is an ExitCode 1 but apparently Docker does not have documentation for ExitCodes. I am quite disappointed after my first experiences using Docker in general.
I’ll give this more time later. For now, my Wifi APs run fine (setup via Windows), a one-time setup is sufficient, no need to have Unifi-Controller running constantly.