Secrets from an application perspective

Changes to the examples

Commands

echo 'test1234' | docker secret create my-password -
docker stack deploy -c docker-stack.yml test
docker container exec -it test_shell.1.pu3mhzz2tmudecsiziumsfdq sh
cd /run/secrets
ls -l
cat my-password

Secrets with Docker Stack

Managing configurations