Docker Practice Labs

This course contains lots of labs for Docker, each lab is a small Docker project with detailed guidance and solutions. You can practice your Docker skills by completing these labs, improve your coding skills, and learn how to write clean and efficient code.

DockerDevOps

Syllabus

01 Pull Image from Repository
02 Run a Container
03 List Containers
04 List Running Containers
05 Start Container
06 Stop Container
07 Restart Container
08 Remove Container
09 Attach to Container
10 Execute Command in Container
11 View Container Logs
12 Inspect Container
13 Display Running Processes in Container
14 Create Container
15 List Container Ports
16 Tag an Image
17 Push Image to Repository
18 Remove Image
19 List Images
20 Search Images in Repository
21 Copy Data Between Host and Container
22 Manage Volumes
23 Build Image from Dockerfile
24 Manage Networks
25 Display System-Wide Information
26 Show Docker Version
27 Log into Docker Registry
28 Log out from Docker Registry
29 Manage Docker
30 Remove Unused Docker Objects

Introduction

Build practical Docker command-line fluency through 60 focused labs organized around 30 everyday skills. Each topic pairs a guided lab with a follow-up challenge, so you can first learn a command in context and then check whether you can apply it independently.

The course follows the core Docker workflow from finding and running images to inspecting containers, handling data and networks, working with a registry, and cleaning up unused objects. Its narrow, repeatable exercises are designed for learners who want more practice than a concept-first introduction provides.

What You Will Learn

By completing this course, you will learn to:

  • Pull, search, list, tag, push, and remove Docker images.
  • Create, run, start, stop, restart, attach to, and remove containers.
  • Execute commands inside containers and copy data between a container and its host.
  • Read container logs, inspect configuration, view running processes, and identify published ports.
  • Build an image from a Dockerfile and manage the resulting local image.
  • Create and manage Docker volumes and networks for container workloads.
  • Check Docker version and system-wide information and use Docker system-management commands.
  • Sign in to and out of a Docker registry and safely prune unused Docker objects.

Who This Course Is For

This course is for beginners who have encountered Docker concepts but need structured repetition with its command-line tools. It also suits developers and operations learners who want short, task-specific practice before moving to broader application deployment or orchestration topics.

Prerequisites: You should be comfortable using a terminal and basic Linux commands. Prior familiarity with images, containers, and Docker's purpose is helpful, but the guided lab in each pair provides support before the corresponding challenge.

Learning environment: The course contains 60 browser-based hands-on labs arranged into 30 skill pairs. You will work primarily in a provided terminal with Docker available; registry login and push activities may require Docker registry credentials.

Frequently Asked Questions

How are the guided labs and challenges related?

Each of the 30 topics begins with a guided lab and follows with a challenge on the same command or workflow. The pairing lets you learn with instructions and then practice recall and application.

Do I need a Docker Hub or registry account?

Most labs use local Docker operations or public image discovery. The login, logout, and image-push topics involve registry authentication, so valid registry credentials may be needed for those activities.

Does this course teach Docker Compose or Kubernetes?

No. The curriculum concentrates on individual Docker commands, Dockerfiles, volumes, networks, registry operations, system information, and cleanup. Compose and orchestration are outside this course's listed scope.

Should I take this before or after Docker for Beginners?

Take it after or alongside an introductory Docker course if you want repeated command practice. It works especially well as a skills drill once you understand what images and containers are.

Teacher

labby
Labby
Labby is the LabEx teacher.