package snapshotter
import "github.com/dotcloud/docker/daemon/snapshotter"
Index ¶
Types ¶
type Mounter ¶
type Mounter interface { // Mount mounts the rootfs for a container and returns the mount point Mount(mounts []mount.Mount, containerID string) (string, error) // Unmount unmounts the container rootfs Unmount(target string) error }
Mounter handles mounting/unmounting things coming in from a snapshotter with optional reference counting if needed by the filesystem
func NewMounter ¶
func NewMounter(home string, snapshotter string, idMap idtools.IdentityMapping) Mounter
NewMounter creates a new mounter for the provided snapshotter
Source Files ¶
- Version
- v24.0.7+incompatible
- Published
- Oct 26, 2023
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 14 minutes ago –
Tools for package owners.