Docker Swarm Deployment (Native Integration)
DSO acts as a native Secret Driver for Docker Swarm.
Prerequisites
- DSO installed and
dso-agentrunning. - Docker Plugin
dso-secret-driverenabled (docker plugin ls).
Usage
- Create a Secret using the DSO Driver
docker secret create \ -d dso-secret-driver \ db_password "aws/prod/db-password" - Deploy the stack
docker stack deploy -c docker-compose.yaml my-app
The Docker daemon will call the DSO Secret Driver to resolve the value of aws/prod/db-password before mounting it into the container.