mirror of
https://github.com/containers/podman.git
synced 2025-05-20 00:27:03 +08:00

When volume options and the local volume driver are specified, the volume is intended to be mounted using the 'mount' command. Supported options will be used to volume the volume before the first container using it starts, and unmount the volume after the last container using it dies. This should work for any local filesystem, though at present I've only tested with tmpfs and btrfs. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
16 lines
241 B
Go
16 lines
241 B
Go
// +build !linux
|
|
|
|
package libpod
|
|
|
|
import (
|
|
"github.com/containers/libpod/libpod/define"
|
|
)
|
|
|
|
func (v *Volume) mount() error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (v *Volume) unmount(force bool) error {
|
|
return define.ErrNotImplemented
|
|
}
|