add a note regarding the /dev/shm RW and a webcam

This commit is contained in:
Andy 2016-05-19 19:05:55 +02:00
parent f6f0b77c80
commit 28f5da6da4
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

View File

@ -18,6 +18,10 @@ services:
volumes: volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:ro - /tmp/.X11-unix:/tmp/.X11-unix:ro
- $XDG_RUNTIME_DIR/pulse:/run/user/1000/pulse - $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 - /dev/shm:/dev/shm
- data:/data - data:/data
- certs:/home/user/.pki/nssdb - certs:/home/user/.pki/nssdb