container/container_notlinux.go
4785f1a7
 // +build freebsd
934328d8
 
 package container
 
 import (
 	"golang.org/x/sys/unix"
 )
 
 func detachMounted(path string) error {
4785f1a7
 	// FreeBSD do not support the lazy unmount or MNT_DETACH feature.
934328d8
 	// Therefore there are separate definitions for this.
 	return unix.Unmount(path, 0)
 }
72c1d7f4
 
67d282a5
 // SecretMounts returns the mounts for the secret path
 func (container *Container) SecretMounts() []Mount {
72c1d7f4
 	return nil
 }
 
 // UnmountSecrets unmounts the fs for secrets
 func (container *Container) UnmountSecrets() error {
 	return nil
 }