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-linux Docker 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:
    brew install orbstack
    or download it.
  • Resources: Settings: memory limit (8 GB by default) and CPU limit (settings).
  • How lg finds it: its orbstack Docker 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:
    colima stop && colima start --cpu 4 --memory 8 --disk 100
    (README).
  • How lg finds it: the Docker context Colima sets on start.
  • Licence: MIT.

Podman Desktop

Free and open source.

  • Install: download the .dmg, drag to Applications, start it and follow its setup (steps).
  • Resources: Settings › Resources › Podman › Create new: CPUs, memory, disk (docs).
  • How lg finds it: set DOCKER_HOST to the machine's socket (docs).

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:
    echo 'export DOCKER_HOST=ssh://you@host' >> ~/.zshrc && export DOCKER_HOST=ssh://you@host
    or, with the Docker CLI:
    docker context create remote --docker host=ssh://you@host && docker context use remote
    (Docker over SSH).
  • How lg finds it: DOCKER_HOST, else the active Docker context (contexts).
  • Opening the vault: lg vault up ends with an ssh -N -L … line; run it and keep it open while you use the vault at the http://localhost:… address it prints.