1
0
mirror of https://github.com/docker/docs.git synced 2026-10-28 07:15:09 +03:00
Files
docs/content/guides/lab-container-getting-started.md
2026-04-02 14:50:06 -04:00

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
tags time resource_links
labs
30 minutes
title url
Docker overview /get-started/docker-overview/
title url
Dockerfile reference /reference/dockerfile/
title url
Labspace repository https://github.com/dockersamples/labspace-container-getting-started

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 Dockerfile to package an application, using layer caching for fast rebuilds
  • Build a custom image with docker build and 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