Add genshin runtime container

This commit is contained in:
Alex D. 2024-11-08 10:00:18 +00:00
parent b05363d33a
commit 360f74a921
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#!/bin/sh
podman create \
--replace \
--name genshin \
--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 'genshin_wine_data:/home/user/.wine' \
localhost/caskd/archlinux/genshin:latest