mount

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableDefaultMounts

func DisableDefaultMounts(overrideMountFilepath string) (revert func() error, err error)

DisableDefaultMounts disables default mounts for all containers by creating an empty "mounts.conf" file at the override mount filepath provided by the user. Returns a function that can revert to the previous mount setup if needed, or an error if a problem has occured. If no filepath was provided, the default container override mount filepath will be used ("/etc/containers/mounts.conf"). For more info - https://github.com/containers/common/blob/v0.57/docs/containers-mounts.conf.5.md

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL