sudo 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=ibus \ -e QT_IM_MODULE=ibus \ -e GTK_IM_MODULE=ibus \ -e AUDIO_GID=`getent group audio | cut -d: -f3` \ -e GID=`id -g` \ -e UID=`id -u` \ bestwu/wechat source wechat.shdocker start wechatdocker stop wechatsudo docker rm -f wechathttp://shiyuefei.top/2020/09/01/CentOS%E5%AE%89%E8%A3%85%E5%BE%AE%E4%BF%A1/https://www.jianshu.com/p/2a603db77195https://zhuanlan.zhihu.com/p/379416038https://zhuanlan.zhihu.com/p/323723229https://www.jianshu.com/p/2a603db77195