top-bettercode / docker-wechat

微信 docker 镜像
https://hub.docker.com/r/bestwu/wechat/
486 stars 69 forks source link

docker: Error response from daemon: Mounts denied #55

Open WilliamLinxw opened 1 year ago

WilliamLinxw commented 1 year ago

docker: Error response from daemon: Mounts denied: The path /tmp/.X11-unix is not shared from the host and is not known to Docker. You can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing. See https://docs.docker.com/ for more info.

微信和QQ都有这个问题。我已经运行过xhost +了。

Edit:我试着把/tmp加到file sharing里面,报/home/lin/WechatFiles不shared,我又把/home/lin加到里面,然后报“docker: Error response from daemon: error gathering device information while adding custom device "/dev/snd": no such file or directory. ”

请问这个怎么解决?谢谢!