Skip to main content

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

CommandPurpose
mac pullPull container images from the configured registry
mac startStart MAC services in all, master, or agent mode
mac stopStop running MAC services
mac restartStop + start MAC services in one step
mac statusList running MAC containers
mac logsTail logs for one or more MAC containers
mac infoPrint version, registry, config dir, and effective env
mac cleanRemove all MAC containers, networks, volumes, images
mac envShow or modify MAC environment variables
mac version (-v, --version)Print the CLI version and exit

Where to Go