From 28f5da6da4761789612b5088aee6a34a75bab67e Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Thu, 19 May 2016 19:05:55 +0200 Subject: [PATCH] add a note regarding the /dev/shm RW and a webcam --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 48f1d8e..1310229 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,10 @@ services: volumes: - /tmp/.X11-unix:/tmp/.X11-unix:ro - $XDG_RUNTIME_DIR/pulse:/run/user/1000/pulse + # /dev/shm must be RW, otherwise webcam (/dev/video0) won't work + # mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 + # X11 error: BadAccess (attempt to access private resource denied) + # X11 error: BadShmSeg (invalid shared segment parameter) - /dev/shm:/dev/shm - data:/data - certs:/home/user/.pki/nssdb