VACVAC
Reference

CLI commands

The vac host-ops CLI — the commands the installer adds to manage the stack from the shell.

2 min readUpdated June 15, 2026Edition · v0.5.xBeta

The installer adds a small vac command at /usr/local/bin/vac. It's a host-ops wrapper around docker compose for the VAC stack — start, stop, upgrade, tail logs, toggle features.

There's no app-management CLI

vac manages the control plane, not your apps. Creating apps, setting env vars, deploying, and attaching domains all happen in the dashboard (or via the REST API). There is no vac apps create / vac login / vac env.

If you ran the installer with --grant (the default), your sudo user can run vac without sudo; otherwise prefix commands with sudo.

Stack lifecycle

CommandWhat it does
vac statusShow the running stack (docker compose ps).
vac upStart the stack.
vac downStop the stack.
vac restart [service]Restart the whole stack, or one service.
vac logs [service]Tail logs (follow, last 100 lines), optionally for one service.
vac pullPull the latest images.
vac versionShow the pinned version (from .env) and the running version.
vac configPrint the .env configuration.

Upgrades

CommandWhat it does
vac upgradePull images and recreate the stack.
vac upgrade <version>Pin a specific version in .env, then pull and recreate.

See Updates & upgrades.

Configuration toggles

These edit .env and restart vac-api so the change takes effect:

CommandWhat it does
vac set-domain <domain>Set the base domain; prints the DNS records to create.
vac unset-domainClear the base domain (back to http://<host>:9393).
vac managed-services on|offToggle backups, managed databases, and the add-on catalog.
vac container-shell on|offToggle the in-dashboard root shell into app containers.
vac security-agent on|offInstall/remove the read-only host posture agent (needs root).
vac security-check firewall|fail2ban on|offToggle the posture warning for a check.

Accounts

CommandWhat it does
vac reset-password <username>Reset an operator's password (runs inside vac-api).

Uninstall

vac uninstall is tiered and safe by default — it stops the stack but keeps your data unless you ask otherwise.

FlagEffect
(none)Remove the VAC stack; keep volumes, apps, and the install directory.
--appsAlso remove all VAC-deployed app containers, networks, and volumes.
--purgeAlso remove named volumes (database, certs), the install dir, and the vac command.
--backup DIRSnapshot database + certs + install dir into DIR before removing anything.
--yes, -ySkip confirmation prompts.
bashroot@your-vps:~#
snapshot everything, then completely remove VACsudo vac uninstall --purge --apps --backup /mnt/backups --yes

See Disaster recovery for using --backup as a snapshot tool.

Next

On this page