Skip to content

Commit

Permalink
drop privileged mode
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Jun 16, 2024
1 parent 1d0cc25 commit 901a2d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run-mtgo
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ if $detect_tz; then
fi

run ${docker_client} info || exit 1
echo "UID=${UID}"

if $do_reset; then
msg="You are about to wipe docker volume ${data}"
Expand Down Expand Up @@ -320,7 +321,8 @@ if [ ${limit_cpus} -gt 0 ]; then
fi

docker_mtgo() {
run ${docker_client} run --privileged --rm -e DISPLAY \
#run ${docker_client} run --privileged --rm -e DISPLAY \
run ${docker_client} run --rm -e DISPLAY \
${opts} ${image} ${cmd} ${cmdargs}
}
watch_openurl() {
Expand Down

0 comments on commit 901a2d5

Please sign in to comment.