Containerizing Applications with Docker

Over the last decade, Docker containerization has become a kind of default packaging format for web applications and modern microservices. In a container, your program sits in a very lightweight, isolated shell of Linux filesystem, process, user, and network abstractions, safely separate from the host environment. Container images also happen to be incredibly portable – they’re easy to shuffle around from a developer’s laptop to a testing or staging environment to a production server. This solves many of the problems that have plagued software and infrastructure over the last several decades.

In some sense, containers are quite similar to the Linux packages you’ve learned how to install from repositories. ...

Get The Software Developer's Guide to Linux 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.