Start securing your swarm services using the latest compose reference that allows to specify secrets in your application stack Getting started Make sure your daemon is in swarm mode or initialize it as follows: docker swarm init --advertise-addr $(hostname -i) Automatic provision In this example we’ll let compose automatically create our secrets and provision them through compose with the defined secret file Create a new secret and store it in a file: echo "shh, this is a secret" > mysecret...