containerd

package
v1.31.3-0...-b1489ee Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SELinuxContextType = "container_runtime_t"
)

Variables

This section is empty.

Functions

func Client

func Client(address string) (*containerd.Client, error)

func FuseoverlayfsSupported

func FuseoverlayfsSupported(root string) error

func OverlaySupported

func OverlaySupported(root string) error

func PreloadImages

func PreloadImages(ctx context.Context, cfg *config.Node) error

PreloadImages reads the contents of the agent images directory, and attempts to import into containerd any files found there. Supported compressed types are decompressed, and any .txt files are processed as a list of images that should be pre-pulled from remote registries. If configured, imported images are retagged as being pulled from additional registries.

func Run

func Run(ctx context.Context, cfg *config.Node) error

Run configures and starts containerd as a child process. Once it is up, images are preloaded or pulled from files found in the agent images directory.

func SetupContainerdConfig

func SetupContainerdConfig(cfg *config.Node) error

SetupContainerdConfig generates the containerd.toml, using a template combined with various runtime configurations and registry mirror settings provided by the administrator.

func StargzSupported

func StargzSupported(root string) error

Types

type HostConfigs

type HostConfigs map[string]templates.HostConfig

Jump to

Keyboard shortcuts

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