Use host udev and /dev/input then ensure correct permissions on files for steam

This commit is contained in:
Josh.5
2022-01-14 08:47:18 +13:00
parent 14871dcecd
commit ba277817a0
3 changed files with 63 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
# File Created: Saturday, 8th January 2022 2:34:23 pm
# Author: Josh.5 (jsunnex@gmail.com)
# -----
# Last Modified: Friday, 14th January 2022 8:45:00 am
# Last Modified: Friday, 14th January 2022 8:45:04 am
# Modified By: Josh.5 (jsunnex@gmail.com)
###
@@ -123,6 +123,8 @@ docker run -d --name="${container_name}" \
-e ENABLE_VNC_AUDIO="false" \
-v "${project_base_path}/config/home/default-${container_name}":"/home/default":"rw" \
-v "/tmp/":"/tmp/":"rw" \
-v /dev/input:/dev/input:ro \
-v /run/udev:/run/udev:ro \
--hostname="${container_name}" \
--shm-size=2G \
${additional_docker_params} \