Skip to content

能否增加Docker容器运行WeChat到系统桌面上,就像DoChat一样 #22

@crazyn2

Description

@crazyn2

能否增加Docker容器运行WeChat到系统桌面上,就像DoChat一样,命令如下

docker run -i \
    --name wechat_container_demo \
    -v $PWD/.xwechat:/root/.xwechat \
    -v $PWD/xwechat_files:/root/xwechat_files \
    -v $PWD/downloads:/root/downloads \
    -v /dev/snd:/dev/snd \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e DISPLAY \
    -e LANG=zh_CN.UTF-8 \
    -e XMODIFIERS=@im=fcitx \
    -e GTK_IM_MODULE=fcitx \
    -e QT_IM_MODULE=fcitx \
    -e GID="$(id -g)" \
    -e UID="$(id -u)" \
    --ipc=host \
    -e WEB_AUDIO=1 \
    -e TZ=Asia/Shanghai \
    --privileged \
    ricwang/docker-wechat:latest

我运行了下,发现直接报错,估计启动脚本需要修改下才行

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions