Quick Recap
Let's discuss what we have covered so far.
We'll cover the following
Key points
What you learned in this chapter:
-
The Docker server manages containers. It’s an isolated wrapper around an application, which seems similar to a virtual machine but is more lightweight.
-
Containers are launched from a single image template configured by a Dockerfile. Images for hundreds of applications are available on Docker Hub.
-
Custom images can also be made.
-
Containers are stateless, but can attach to Docker disk volumes or bind-mounted folders on the host OS.
-
Containers can expose application ports and communicate over internal Docker networks. Ports can also be exposed to the host OS.
-
Docker Compose can be used to launch multiple containers at once.
-
Orchestration tools such as Docker Swarm and Kubernetes can be used to launch and scale containers across multiple systems in production environments.
-
Docker is practical during development. However, it’s not necessarily essential or practical to use it for every application component on production systems.
Get hands-on with 1400+ tech skills courses.