Containers with Docker and Kubernetes
Package applications as containers with Docker, build images and multi-container setups with Compose, take them to production, and run them with Kubernetes.
Start learning Open course bookAbout this course
Containers changed how software is shipped. An application packaged with Docker carries everything it needs, so it runs the same way on a laptop, a test server and the cloud. Running many containers reliably across many machines is the job of an orchestrator, and Kubernetes has become the standard one, used by companies of every size.
This course takes you from your first container to a cluster. You begin with the core ideas and commands of Docker: images and containers, Dockerfiles and layers, networking, volumes and Docker Compose. A second, longer Docker course reinforces those foundations and goes further. You then apply everything to a real Node.js application with a database and a cache, moving it from development to a production server and handling updates with Docker Swarm. The course ends with Kubernetes: pods, deployments, services and scaling, running on a cluster on your own computer. Each lesson pairs a video course with a book chapter that explains the concepts with diagrams, tables and worked examples.
What you will learn
- Explain how containers differ from virtual machines and when each is the better choice
- Run, inspect and manage containers and images from the command line
- Write efficient Dockerfiles that take advantage of layer caching
- Connect containers with networks and keep their data in volumes
- Describe a multi-container application in Docker Compose and move it to production
- Deploy, expose and scale an application on Kubernetes with pods, deployments and services
Who this course is for
Developers and IT staff who can use a command line and want to package and run applications in containers. The DevOps Foundations course on this site is a helpful first step. Some experience building a web application makes the Node.js lesson easier to follow.