7: Containers
Now that we know a bit about images, itâs time to get into containers. As this is a book about Docker, weâll be talking specifically about Docker containers. However, Docker implements the image and container specs published by the Open Container Initiative (OCI) at https://www.opencontainers.org. This means a lot of what you learn here will apply to other container runtimes that are OCI compliant. Also, the things youâll learn will help you if you need to learn and use Kubernetes.
Weâll split this chapter into the usual three parts:
- The TLDR
- The deep dive
- The commands
Docker containers - The TLDR
A container is the runtime instance of an image. In the same way that you can start a virtual machine (VM) from a virtual ...
Get Docker Deep Dive 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.