增加 Wechat 镜像和启动方法.

Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
chen.yang 2021-12-13 19:13:12 +08:00
parent c67a359f5d
commit 3c3c945c31
1 changed files with 18 additions and 0 deletions

View File

@ -202,3 +202,21 @@ docker pull nvidia/cuda:10.2-cudnn7-runtime-ubuntu16.04
docker pull tensorflow/tensorflow:1.11.0-py3 docker pull tensorflow/tensorflow:1.11.0-py3
docker pull jupyter/tensorflow-notebook:17aba6048f44 docker pull jupyter/tensorflow-notebook:17aba6048f44
``` ```
Wechat 镜像和启动方法:
```bash
docker pull bestwu/wechat
xhost +
docker run -d --name wechat --device /dev/snd --ipc=host \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/WeChatFiles:/WeChatFiles \
-e DISPLAY=unix$DISPLAY \
-e XMODIFIERS=@im=fcitx \
-e QT_IM_MODULE=fcitx \
-e GTK_IM_MODULE=fcitx \
-e AUDIO_GID=`getent group audio | cut -d: -f3` \
-e GID=`id -g` \
-e UID=`id -u` \
bestwu/wechat
```