Examine the evolution of virtualization technologies from bare metal, virtual machines, and containers and the tradeoffs between them.
Explores the three core Linux features that enable containers to function (cgroups, namespaces, and union filesystems), as well as the architecture of the Docker components.
Install and configure Docker Desktop
Use publicly available container images in your developer workflows and learn how about container data persistence.
Building out a realistic microservice application to containerize.
Write and optimize Dockerfiles and build container images for the components of the example web app.
Use container registries such as Dockerhub to share and distribute container images.
Use Docker and Docker Compose to run the containerized application from Module 5.
Learn best practices for container image and container runtime security.
Explore how to use Docker to interact with containers, container images, volumes, and networks.
Add tooling and configuration to enable improved developer experience when working with containers.
•Developer Experience Wishlist
Deploy containerized applications to production using a variety of approaches.
When choosing a base image for your container, it's important to consider factors such as size, language support, ergonomics, and security. In this guide, we'll discuss these considerations and present some sample images for a Node.js application.
Here are some sample images for a Node.js application, with their respective sizes and vulnerabilities:
For general-purpose use, the node:slim (Bullseye)
image is a good choice due to its balance between size, security, and ease of use.
If you're focused on security, consider using the chainguard/nodejs
image, but be prepared for potential difficulties in working with certain packages or custom application needs.