Docker on macOS
Pick any of these; lg uses whichever one is running.
Minimum to allocate: 4 GB of memory, 2 CPUs and 10 GB of disk for a vault (the vault, Postgres and MinIO). A large media library needs more disk.
Docker Desktop
A point-and-click app; the one lg vault up suggests.
- Install: download the Apple silicon or Intel build, open
Docker.dmg, drag Docker to Applications, start it (steps). - Resources: Settings › Resources › Advanced: CPU, memory (default half your RAM), disk limit and disk image location (settings).
- Start at login: Settings › General › Start Docker Desktop when you sign in (off by default).
- How lg finds it: its
desktop-linuxDocker context. - Licence: free for personal use, education, non-commercial open source and businesses under 250 employees and $10M revenue; others need a paid Docker subscription (Docker's terms).
OrbStack
A fast, light app.
- Install: or download it.
brew install orbstack - Resources: Settings: memory limit (8 GB by default) and CPU limit (settings).
- How lg finds it: its
orbstackDocker context (docs). - Licence: free for personal, non-commercial use; business use is paid (pricing).
Colima
Free and open source, command line only.
- Install:
brew install colima docker && colima start - Resources: defaults 2 CPUs, 2 GiB memory, 100 GiB disk; to change: (README).
colima stop && colima start --cpu 4 --memory 8 --disk 100 - How lg finds it: the Docker context Colima sets on start.
- Licence: MIT.
Podman Desktop
Free and open source.
Docker on another machine
Not the default. Use it when this Mac can't run Docker itself (a Mac VM) or when you automate Mac testing.
- The other machine: Docker running, your Mac's SSH key in its
~/.ssh/authorized_keys, and your user allowed to use Docker (steps). - This Mac: no sudo and no Docker app; add one line for this and every new terminal: or, with the Docker CLI:
echo 'export DOCKER_HOST=ssh://you@host' >> ~/.zshrc && export DOCKER_HOST=ssh://you@host(Docker over SSH).docker context create remote --docker host=ssh://you@host && docker context use remote - How lg finds it:
DOCKER_HOST, else the active Docker context (contexts). - Opening the vault:
lg vault upends with anssh -N -L …line; run it and keep it open while you use the vault at thehttp://localhost:…address it prints.