diff --git a/src/plugins/docker/dockerdevice.cpp b/src/plugins/docker/dockerdevice.cpp index b4cd5d3ca53..da05ff570f3 100644 --- a/src/plugins/docker/dockerdevice.cpp +++ b/src/plugins/docker/dockerdevice.cpp @@ -1232,6 +1232,9 @@ expected_str DockerDevicePrivate::localSource(const FilePath &other) c bool DockerDevicePrivate::ensureReachable(const FilePath &other) { + if (other.isSameDevice(q->rootPath())) + return true; + for (const QString &mount : m_data.mounts) { const FilePath fMount = FilePath::fromString(mount); if (other.isChildOf(fMount))