pducharme / UniFi-Video-Controller

Docker for Unifi-Video Controller (Ubiquiti Networks)
200 stars 105 forks source link

Directory error when booting #163

Closed caronas4 closed 4 years ago

caronas4 commented 4 years ago

Hi all, Newby here, but I'm trying to get the unifi video controller to run on my Synology DS1618+. I've set up docker and got the latest version from registry and tried to run with the following command: docker run -d \ --restart=unless-stopped \ --network=“host” \ --name unifi-video \ --security-opt apparmor:unconfined \ --cap-add SYS_ADMIN \ --cap-add DAC_READ_SEARCH \ -v /volume1/docker/unifi-video/data/:/var/lib/unifi-video \ -v /volume1/docker/unifi-video/video/:/var/lib/unifi-video/videos \ -e TZ=Netherlands/Amsterdam \ -e PUID=99 \ -e PGID=100 \ -e DEBUG=1 \ pducharme/unifi-video-controller

This gives me the following error: docker: Error response from daemon: create /volume1/docker/unifi-video/data/: "/volume1/docker/unifi-video/data/" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'.

Can anybody point out the probably obvious dumb error I made?

Thanks!

caronas4 commented 4 years ago

Never mind, got rid of the space..