BretFisher / udemy-docker-mastery

Docker Mastery Udemy course to build, compose, deploy, and manage containers from local development to high-availability in the cloud
https://www.bretfisher.com/courses
MIT License
5.34k stars 6.21k forks source link

Add lecture on Swarm Secrets via CLI #120

Open BretFisher opened 2 years ago

BretFisher commented 2 years ago

From Joao in Discord:

Hi Bret, if you see this I just wanted to ask, since you mentioned you are updating some videos now, if you could update also the video 20 "Using Secrets in Swarm Services" on "Section 4: Swarm Basic Features and How to Use Them In Your Workflow".

In the Q&A there are a couple of suggestions on how to avoid entering secrets that can be revisited in the bash history (starting the command with a whitespace), as well how to avoid trailing newline characters while using echo (using printf instead).