code: func (daemon *Daemon) conditionalUnmountOnCleanup(container *container.Container) error {
  
  	// Bail out now for Linux containers
  	if system.LCOWSupported() && container.OS != "windows" {
  		return nil
  	}
  
  	// We do not unmount if a Hyper-V container
  	if !daemon.runAsHyperVContainer(container.HostConfig) {
  		return daemon.Unmount(container)
  	}
  	return nil
  }
docs: // conditionalUnmountOnCleanup is a platform specific helper function called
  // during the cleanup of a container to unmount.