在 Docker 运行微信「Docker Wechat」客户端是微信官方的 Linux 版,整合到 ubuntu 的 VNC 镜像里,支持 Web 或者 VNC 访问。有 NAS 或者服务器的小伙伴可以试试看。
docker-compose.yml
services:
wechat:
image: ricwang/docker-wechat:latest
container_name: wechat_container
volumes:
- <THE PATH>/.xwechat:/root/.xwechat
- <THE PATH>/xwechat_files:/root/xwechat_files
- <THE PATH>/downloads:/root/downloads
- /dev/snd:/dev/snd
ports:
- "5800:5800"
- "5900:5900"
environment:
- LANG=zh_CN.UTF-8
- USER_ID=0
- GROUP_ID=0
- WEB_AUDIO=1
- TZ=Asia/Shanghai
privileged: true
docker run
docker run -d \
--name wechat_container_demo \
-v <THE PATH>/.xwechat:/root/.xwechat \
-v <THE PATH>/xwechat_files:/root/xwechat_files \
-v <THE PATH>/downloads:/root/downloads \
-v /dev/snd:/dev/snd \
-p 5800:5800 \
-p 5900:5900 \
-e LANG=zh_CN.UTF-8 \
-e USER_ID=0 \
-e GROUP_ID=0 \
-e WEB_AUDIO=1 \
-e TZ=Asia/Shanghai \
--privileged \
ricwang/docker-wechat:latest
请登录后发表评论
注册
停留在世界边缘,与之惜别