From 346206e65a8211e6f6477f70d10b681043f846e6 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Wed, 16 Oct 2024 10:19:42 +0200 Subject: [PATCH] readme: better USB passthrough --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 45fba5b..9417eb3 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,6 @@ services: tty: true container_name: dumpvdl2 restart: always - devices: - - /dev/bus/usb:/dev/bus/usb ports: environment: - TZ="America/Denver" @@ -44,6 +42,10 @@ services: tmpfs: - /run:exec,size=64M - /var/log + device_cgroup_rules: + - 'c 189:* rwm' + volumes: + - /dev/bus/usb:/dev/bus/usb:ro ``` ## Configuration options