Add runners for generic containers
This commit is contained in:
parent
d5edfaff97
commit
965cba86a6
|
@ -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
|
|
@ -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 "$@"
|
Loading…
Reference in New Issue