Skip to Main Content
Learn Docker in a Month of Lunches
book

Learn Docker in a Month of Lunches

by Elton Stoneman
July 2020
Beginner content levelBeginner
464 pages
12h 39m
English
Manning Publications
Content preview from Learn Docker in a Month of Lunches

3 Building your own Docker images

You ran some containers in the last chapter and used Docker to manage them. Containers provide a consistent experience across applications, no matter what technology stack the app uses. Up till now you’ve used Docker images that I’ve built and shared; in this chapter you’ll see how to build your own images. This is where you’ll learn about the Dockerfile syntax, and some of the key patterns you will always use when you containerize your own apps.

3.1 Using a container image from Docker Hub

We’ll start with the finished version of the image you’ll build in this chapter, so you can see how it’s been designed to work well with Docker. The try-it-now exercises all use a simple application called web-ping, which ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Kubernetes in a Month of Lunches

Learn Kubernetes in a Month of Lunches

Elton Stoneman
Docker Deep Dive

Docker Deep Dive

Nigel Poulton
Docker: Up & Running, 2nd Edition

Docker: Up & Running, 2nd Edition

Sean P. Kane, Karl Matthias
Docker in Action, Second Edition

Docker in Action, Second Edition

Stephen Kuenzli, Jeffrey Nickoloff

Publisher Resources

ISBN: 9781617297052Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link