This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman run --name qq \ | |
--device /dev/snd --net=host --ipc=host \ # remove net=host if you don't want this | |
--device=/dev/dri/card0:/dev/dri/card0 \ | |
--device=/dev/dri/renderD128:/dev/dri/renderD128 \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \ | |
-v ${XDG_RUNTIME_DIR}/pulse/native:/run/user/0/pulse/native \ | |
-e PULSE_SERVER=unix:/run/user/0/pulse/native \ | |
-v $HOME/containerhome:/root:Z \ # choose a path you like, same for following | |
-v $HOME/containerhome/TencentFiles:/TencentFiles:Z \ | |
-v $HOME/文档/Fonts:/usr/share/fonts/Windows:Z \ # external fonts, any path in /usr/share/fonts will be fine |