moby/container/container_linux.go

10 lines
142 B
Go
Raw Normal View History

package container
import (
"golang.org/x/sys/unix"
)
func detachMounted(path string) error {
return unix.Unmount(path, unix.MNT_DETACH)
}