mirror of
https://github.com/docker/docs.git
synced 2026-10-28 07:15:09 +03:00
2.4 KiB
2.4 KiB
title, linkTitle, description, summary, keywords, params
| title | linkTitle | description | summary | keywords | params | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lab: Getting Started with Docker | Lab: Getting Started with Docker | Learn Docker fundamentals by running containers, exploring the container lifecycle, and packaging a real Node.js app into your own custom image. | Hands-on lab: Run your first containers, write a Dockerfile, build a custom image from a Node.js app, and optionally push it to Docker Hub. | Docker, containers, Dockerfile, images, getting started, lab, labspace |
|
Start from zero and learn Docker's core building blocks. You'll run pre-built
containers, write a Dockerfile to package a Node.js app, build your own
image, and see container immutability and isolation in action.
Launch the lab
{{< labspace-launch image="dockersamples/labspace-container-getting-started" >}}
What you'll learn
By the end of this Labspace, you will have completed the following:
- Understand what containers are and how they differ from virtual machines
- Run containers in the background, inspect their logs and filesystem, and manage their lifecycle
- Write a
Dockerfileto package an application, using layer caching for fast rebuilds - Build a custom image with
docker buildand run it as a container - Optionally publish your image to Docker Hub
Modules
| # | Module | Description |
|---|---|---|
| 1 | Welcome to Docker | Introduction to containers and running your first hello-world container |
| 2 | Running Containers | Launch Nginx, inspect logs and internals, and manage the container lifecycle |
| 3 | Building Your First Image | Write a Dockerfile and build a custom image from a Node.js app |
| 4 | Running Your App | Run your image, explore container isolation, and optionally push to Docker Hub |
| 5 | Wrap-up | Summary of key concepts and next steps |