This is the material for the "Docker orchestration workshop" written and delivered by Jérôme Petazzoni (and possibly others) at multiple conferences and events like:
- QCON, New York City (2015, June)
- KCDC, Kansas City (2015, June)
- JDEV, Bordeaux (2015, July)
- OSCON, Portland (2015, July)
The slides are in the www/htdocs
directory.
The recommended way to view them is to:
- have a Docker host
- clone this repository to your Docker host
cd www && docker-compose up -d
- this will start a web server on port 80
- point your browser at your Docker host and enjoy
The sample app is in the dockercoins
directory.
To see it in action:
cd dockercoins && docker-compose up -d
- this will build and start all the services
- the web UI will be available on port 8000
WARNING: those instructions are incomplete. Consider them as notes quickly drafted on a napkin rather than proper documentation!
I use the trainctl
script from the docker-fundamentals
repository. Sorry if you don't have that!
After starting the VMs, use the trainctl ips
command
to dump the list of IP addresses into a file named ips.txt
.
- Put
ips.txt
file inprepare-vms
directory. - Generate HTML file.
- Open it in Chrome.
- Transform to PDF.
- Print it.
- Make sure that you have SSH keys loaded (
ssh-add -l
). - Source
rc
. - Run
pcopykey
.
- Source
postprep.rc
. (This will install a few extra packages, add entries to /etc/hosts, generate SSH keys, and deploy them on all hosts.)
- Set two groups of machines for instructor's use.
- You will use the first group during the workshop.
- The second group will run a web server with the slides.
- Log into the first machine of the second group.
- Git clone this repo.
- Put up the web server as instructed above.
- Use cli53 to add an A record for e.g.
view.dckr.info
.
If there is a bug and you can fix it: submit a PR. Make sure that I know who you are so that I can thank you (because you're the real MVP!)
If there is a bug and you can't fix it, but you can reproduce it: submit an issue explaining how to reproduce.
If there is a bug and you can't even reproduce it: sorry. It is probably an Heisenbug. I can't act on it until it's reproducible.
if you have attended this workshop and have feedback, or if you want us to deliver that workshop at your conference or for your company: contact me (jerome at docker dot com).
Thank you!