CLI Reference
DSO is implemented as a native Docker CLI plugin. All interactions are performed via the docker dso command space.
Command Overview
| Command | Purpose | Mode |
|---|---|---|
docker dso init | Initialize encrypted local vault | Local |
docker dso up | Deploy stack with secret injection | Both |
docker dso down | Stop and remove containers | Both |
docker dso compose | Secret-injecting compose wrapper | Both |
docker dso secret | Manage vault secrets | Local |
docker dso env import | Bulk-import secrets from .env file | Local |
docker dso fetch | Retrieve secrets from agent | Cloud |
docker dso export | Export resolved secrets to file | Both |
docker dso inspect | View container environment & mounts | Both |
docker dso watch | Monitor secret rotations & events | Cloud |
docker dso logs | View agent logs | Cloud |
docker dso validate | Verify dso.yaml configuration | Both |
docker dso diff | Compare configurations | Cloud |
docker dso system | Manage system state & plugins | Cloud |
docker dso version | Display binary version | Both |
Global Flags
--config, -cPath to dso.yaml (default: dso.yaml)
--debugEnable debug logging
Environment Variables
DSO_MODEForce mode: local or cloud
DSO_SOCKET_PATHCustom socket path for agent communication
DSO_PLUGIN_DIRCustom directory for provider plugins