CLI Reference

DSO is implemented as a native Docker CLI plugin. All interactions are performed via the docker dso command space.

Command Overview

CommandPurposeMode
docker dso initInitialize encrypted local vaultLocal
docker dso upDeploy stack with secret injectionBoth
docker dso downStop and remove containersBoth
docker dso composeSecret-injecting compose wrapperBoth
docker dso secretManage vault secretsLocal
docker dso env importBulk-import secrets from .env fileLocal
docker dso fetchRetrieve secrets from agentCloud
docker dso exportExport resolved secrets to fileBoth
docker dso inspectView container environment & mountsBoth
docker dso watchMonitor secret rotations & eventsCloud
docker dso logsView agent logsCloud
docker dso validateVerify dso.yaml configurationBoth
docker dso diffCompare configurationsCloud
docker dso systemManage system state & pluginsCloud
docker dso versionDisplay binary versionBoth

Global Flags

--config, -c

Path to dso.yaml (default: dso.yaml)

--debug

Enable debug logging

Environment Variables

DSO_MODE

Force mode: local or cloud

DSO_SOCKET_PATH

Custom socket path for agent communication

DSO_PLUGIN_DIR

Custom directory for provider plugins

Quick Links