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