Skip to content
This repository was archived by the owner on Jan 18, 2026. It is now read-only.
This repository was archived by the owner on Jan 18, 2026. It is now read-only.

docker: Error response from daemon: Mounts denied #55

@XiaoweiLinXL

Description

@XiaoweiLinXL

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.

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

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