Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Problems with shared-folder bind mounts #428
Seems to happen EVERY time I try to add a share. Starting to lose faith in this project...
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl restart 'sharedfolders-containers.mount' 2>&1' with exit code '1': Job for sharedfolders-containers.mount failed. See "systemctl status sharedfolders-containers.mount" and "journalctl -xe" for details.
The problem seems to be that the mount point is still in use by Docker (according to the shared folder name) when the system tries to re-mount the bind mount.
You can test that yourself. Stop Docker and the error message should disapear when you press the 'Apply' button.
The problem here is that the sub-system does not know about that the shared-folder is used by a service.
By the way, as the documentation states that the