The n00b’s guide to Docker
Like most geeks on the planet, many of us here at PaperCut have been getting up to speed on Docker (the Open Source containerization platform) over the last few months and years. Docker is an excellent tool, but when I first started trying to use it I got very confused getting from level zero to one. The core documentation seems to assume you understand what Docker does, what the difference is between an image and a container, and how to use the excellent Docker documentation (which is very good if you know what you are looking for).
Remembering the difficulties and questions I had back then, I’ve created a short one hour talk to get people bootstrapped into Docker. The idea is to help newbies make better sense of the documentation and become truly dangerous.
The presentation is designed to answer a few basic questions:
- Why is containerizaton useful, what is it, and how does it basically work?
- What is the difference between a container and an image?
- How can I start containers, stop them and remove them? What does that mean?
- What is the basic process to create my own image, and how does docker-compose help me when things get more complicated?
The first third is slides and talk, but then it’s mainly practical (but simple) demonstrations to illustrate Docker features as the are discussed.
I’ve given the talk a few times locally, including to our junior developers here at PaperCut. It’s been well received so I thought it would offer to a wider audience. If you would like me to present to your organisation, and I am travelling nearby, I’d be happy to repeat it. Otherwise, please feel free to adapt the material for you own purposes (we would appreciate an acknowledgement).
You’ll find the setup scripts and demo files here.