Documentation
¶
Overview ¶
Package docker implements `monolith docker`: container host VMs for the docker CLI (docker engine) or nerdctl (containerd engine), in the style of Colima.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Cmd = &cobra.Command{
Use: "docker",
Short: "Run Docker host VMs for the docker CLI",
Long: `Run container engines in monolith VMs and use them from the Mac.
Each host is a VM with the docker image and user-mode networking, so pulls work
wherever the Mac is online. Ports published with -p are forwarded to localhost,
and /Users is shared into the VM at the same path for -v.
The engine is chosen when the VM is created ('start --engine'):
docker Docker Engine (default). 'start' points the docker CLI at it by
creating and selecting the context docker-<name>.
containerd containerd with nerdctl and BuildKit, no Docker API. Use it
through 'monolith docker nerdctl'.
Every command except list takes --name (default "docker-lith-default").`,
}
Cmd is the parent command for Docker host VMs.
Functions ¶
This section is empty.
Types ¶
This section is empty.