From 28ad42d2e4c97e50fabb489024b7ebd2b3d7d2e3 Mon Sep 17 00:00:00 2001 From: Luke Korth Date: Sat, 30 Jan 2021 22:23:15 -0500 Subject: [PATCH] Fix docker-compose syntax for mounting USB devices Mounting a device as a volume returns the error: `creating device nodes caused: mkdir /var/lib/docker/overlay2/b8[...]3ee8f/merged/dev/bus/usb: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type` --- docs/docs/installation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/installation.md b/docs/docs/installation.md index d20a1790e..2893a01c9 100644 --- a/docs/docs/installation.md +++ b/docs/docs/installation.md @@ -40,8 +40,9 @@ services: restart: unless-stopped privileged: true image: blakeblackshear/frigate:0.8.0-beta2-amd64 - volumes: + devices: - /dev/bus/usb:/dev/bus/usb + volumes: - /etc/localtime:/etc/localtime:ro - :/config - :/media/frigate/clips