github.com/olljanat/moby@v1.13.1/container/container_notlinux.go (about)

     1  // +build solaris freebsd
     2  
     3  package container
     4  
     5  import (
     6  	"golang.org/x/sys/unix"
     7  )
     8  
     9  func detachMounted(path string) error {
    10  	//Solaris and FreeBSD do not support the lazy unmount or MNT_DETACH feature.
    11  	// Therefore there are separate definitions for this.
    12  	return unix.Unmount(path, 0)
    13  }
    14  
    15  // SecretMount returns the mount for the secret path
    16  func (container *Container) SecretMount() *Mount {
    17  	return nil
    18  }
    19  
    20  // UnmountSecrets unmounts the fs for secrets
    21  func (container *Container) UnmountSecrets() error {
    22  	return nil
    23  }