Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-for-win: Error response from daemon: error while creating mount source path: mkdir /host_mnt/c: file exists. #104

Closed
mviereck opened this issue Jan 21, 2019 · 1 comment

Comments

@mviereck
Copy link
Owner

mviereck commented Jan 21, 2019

Coming from #87

Sometimes docker fails to start with an error message that it tries to create a shared folder that already exists on host:

Error response from daemon: error while creating mount source path: mkdir /host_mnt/c: file exists.

This is mainly known from Docker on Windows.
It is a bug of Docker or MS Windows. x11docker cannot do anything about it.
Bug reports and workarounds here: docker/for-win#1560

The most promising workaround seems to go into Docker settings and do "Reset credentials" under "Shared Drives", than restart Docker.

@mviereck mviereck added the bug label Jan 21, 2019
@mviereck mviereck changed the title docker-for-win: Error response from daemon: error while creating mount source path: mkdir /host_mnt/c: file exists. [docker-for-win] Error response from daemon: error while creating mount source path: mkdir /host_mnt/c: file exists. Jan 25, 2019
@mviereck mviereck changed the title [docker-for-win] Error response from daemon: error while creating mount source path: mkdir /host_mnt/c: file exists. docker-for-win: Error response from daemon: error while creating mount source path: mkdir /host_mnt/c: file exists. Feb 9, 2019
@mviereck
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant