2017-11-01 23:37:53 +00:00
|
|
|
// +build freebsd
|
2016-06-07 07:45:21 +00:00
|
|
|
|
2018-02-05 21:05:59 +00:00
|
|
|
package container // import "github.com/docker/docker/container"
|
2016-06-07 07:45:21 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"golang.org/x/sys/unix"
|
|
|
|
)
|
|
|
|
|
|
|
|
func detachMounted(path string) error {
|
2017-11-01 23:37:53 +00:00
|
|
|
// FreeBSD do not support the lazy unmount or MNT_DETACH feature.
|
2016-06-07 07:45:21 +00:00
|
|
|
// Therefore there are separate definitions for this.
|
|
|
|
return unix.Unmount(path, 0)
|
|
|
|
}
|
2016-10-27 20:51:13 +00:00
|
|
|
|
2017-04-11 17:34:19 +00:00
|
|
|
// SecretMounts returns the mounts for the secret path
|
|
|
|
func (container *Container) SecretMounts() []Mount {
|
2016-10-27 20:51:13 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmountSecrets unmounts the fs for secrets
|
|
|
|
func (container *Container) UnmountSecrets() error {
|
|
|
|
return nil
|
|
|
|
}
|