diff --git a/src/dockerclient/matrix.go b/src/dockerclient/matrix.go index 24710cc0..9ea31540 100644 --- a/src/dockerclient/matrix.go +++ b/src/dockerclient/matrix.go @@ -78,7 +78,7 @@ func ResolveHostPath(mountPath string, client *docker.Client, isUnixSocket bool, for _, mount := range container.Mounts { rel, err := filepath.Rel(mount.Destination, mountPath) if err != nil { - return "", err + continue } // The easiest way to check whether the `mountPath` is within the `mount.Destination` if !strings.HasPrefix(rel, "..") {