container

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: MIT Imports: 24 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package container implements `monolith container`: each container runs in its own small VM (Kata's kernel, monolith-init as PID 1, the image's filesystem as root), in the style of Apple's container tool.

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:     "container",
	Aliases: []string{"c"},
	Short:   "Run containers, each in its own VM",
	Long: `Run OCI container images, each in its own lightweight VM.

A container VM boots Kata's Linux kernel with monolith's own init as PID 1 and
the image's filesystem as its root disk (an APFS clone of the converted image,
so it's instant and only takes space for what the container writes). There's
no Docker engine involved, and containers share nothing but the Mac.

Images are pulled from registries (Docker Hub by default; logins come from
~/.docker/config.json) and converted once into ~/.monolith/images.

Containers are VMs too: 'monolith vm list' shows them with IMAGE
"container (<image>)".`,
}

Cmd is the parent command for containers.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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