Add userns keepid to deeplab (perms fix)

master
David Crompton 2023-10-24 11:30:53 -04:00
parent 8f81f0ef5c
commit 583492c778
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ index c62087c..30b5e51
@@ -144,8 +144,10 @@ gui() { @@ -144,8 +144,10 @@ gui() {
update gui || exit 1 update gui || exit 1
build gui || exit 1 build gui || exit 1
args="$(get_x11_args) $(get_mount_args) ${extra_args}" - args="$(get_x11_args) $(get_mount_args) ${extra_args}"
+ args="$(get_x11_args) $(get_mount_args) ${extra_args} --userns keep-id"
+ xhost +local:dlc + xhost +local:dlc
$DOCKER run -it --rm ${args} $(get_local_container_name gui) \ $DOCKER run -it --rm ${args} $(get_local_container_name gui) \
|| err "Failed to launch the DLC GUI. Used args: \"${args}\"" || err "Failed to launch the DLC GUI. Used args: \"${args}\""