diff --git a/localhost/caskd/archlinux/graphical/runner.sh b/localhost/caskd/archlinux/graphical/runner.sh new file mode 100755 index 0000000..4720b19 --- /dev/null +++ b/localhost/caskd/archlinux/graphical/runner.sh @@ -0,0 +1,15 @@ +#!/bin/sh +podman run \ + --rm -it \ + --network=host \ + --userns=keep-id:uid=10000 \ + -e DISPLAY \ + -v '/sys:/sys' \ + -v '/dev/dri:/dev/dri' \ + -v '/dev/snd:/dev/snd' \ + -v '/run/pulse:/run/pulse' \ + -v '/tmp/.X11-unix:/tmp/.X11-unix' \ + -v '/etc/resolv.conf:/etc/resolv.conf:ro' \ + -v '.:/run/current' \ + -w /run/current \ + localhost/caskd/archlinux/graphical:latest bash diff --git a/localhost/caskd/archlinux/wine/runner.sh b/localhost/caskd/archlinux/wine/runner.sh new file mode 100755 index 0000000..1c25fac --- /dev/null +++ b/localhost/caskd/archlinux/wine/runner.sh @@ -0,0 +1,18 @@ +#!/bin/sh +podman run \ + --rm -it \ + --user user \ + --network=host \ + --userns=keep-id:uid=10000 \ + -e DISPLAY \ + -e WINEDLLOVERRIDES=winhttp=n,b \ + -v '/sys:/sys' \ + -v '/dev/dri:/dev/dri' \ + -v '/dev/snd:/dev/snd' \ + -v '/run/pulse:/run/pulse' \ + -v '/tmp/.X11-unix:/tmp/.X11-unix' \ + -v '/etc/resolv.conf:/etc/resolv.conf:ro' \ + -v '.:/run/current' \ + -v 'wine_generic_data:/home/user/.wine:U' \ + -w /run/current \ + localhost/caskd/archlinux/wine:latest wine explorer /desktop=desktop,1920x1080 "$@"