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 ¶
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.