CLI Overview
The mac command-line tool is installed by the MAC Debian package at /usr/bin/mac. It is
the supported way to start, stop, configure, and inspect MAC services on each host. The
same binary is used on Master and Agent nodes — the role is selected at start time.
Tab completion is registered automatically; press <Tab> after mac to see all
subcommands.
Command Summary
| Command | Purpose |
|---|---|
mac pull | Pull container images from the configured registry |
mac start | Start MAC services in all, master, or agent mode |
mac stop | Stop running MAC services |
mac restart | Stop + start MAC services in one step |
mac status | List running MAC containers |
mac logs | Tail logs for one or more MAC containers |
mac info | Print version, registry, config dir, and effective env |
mac clean | Remove all MAC containers, networks, volumes, images |
mac env | Show or modify MAC environment variables |
mac version (-v, --version) | Print the CLI version and exit |
Where to Go
- Service Control —
pull,start,stop,status,clean - Environment Variables —
mac envplus the full variable reference - Examples — copy-pasteable snippets for common workflows
- Without the Package — running
macfrom a source checkout and directdocker composeuse