2 Understanding Docker and running Hello World
It’s time to get hands-on with Docker. In this chapter you’ll get lots of experience with the core feature of Docker: running applications in containers. I’ll also cover some background that will help you understand exactly what a container is, and why containers are such a lightweight way to run apps. Mostly you’ll be following try-it-now exercises, running simple commands to get a feel for this new way of working with applications.
2.1 Running Hello World in a container
Let’s get started with Docker the same way we would with any new computing concept: running Hello World. You have Docker up and running from chapter 1, so open your favorite terminal--that could be Terminal on the Mac or a Bash ...
Get Learn Docker in a Month of Lunches now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.