Skip to content

kasjens/docker-dca-labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐳 Docker DCA Lab Exercises

Docker Kubernetes DCA

Hands-on lab exercises for Docker Certified Associate (DCA) certification

Based on the official DCA Study Guide v1.5 (January 2025) with full coverage of all 6 exam domains, including new Kubernetes topics.

πŸ‡©πŸ‡° Dansk version β†’


πŸ“– About This Repository

This repository contains practical lab exercises designed to prepare you for the Docker Certified Associate (DCA) exam. The exercises cover:

  • βœ… All 6 official DCA exam domains
  • βœ… New Kubernetes topics added in Study Guide v1.5 (2025)
  • βœ… Hands-on exercises with real Docker commands
  • βœ… Docker Compose and Swarm stack examples
  • βœ… Kubernetes manifests (Deployments, Services, ConfigMaps, PVCs)
  • βœ… A complete sample application for practice

πŸ”§ Prerequisites

Before you start, you need:

Requirement Minimum Recommended
Docker Docker 20.10+ Docker 24.0+
RAM 4 GB 8 GB
Disk 10 GB free 20 GB free
OS Windows 10/11, macOS, Linux Ubuntu 22.04 LTS

Verify Installation

# Verify Docker installation
docker --version
docker compose version

# Verify Docker daemon is running
docker info

πŸ“š Lab Overview

Lab Topic Time Weight Description
01 Setup & Verification 15 min - Docker installation and architecture
02 Installation & Configuration 30 min 15% daemon.json, logging, storage drivers
03 Images & Dockerfile 45 min 20% Build, multi-stage, registry
04 Containers, Network & Storage 60 min 25% Networks, volumes, inspect
05 Docker Swarm ⚠️ 60 min 25% Cluster, services, stacks
06 Security 30 min 15% DCT, secrets, MTLS
07 Kubernetes Basics πŸ†• 30 min NEW Pods, deployments, services
08 Exam Preparation 20 min - DOMC format, tips, mock questions

⚠️ Critical: Docker Swarm (Lab 05) accounts for 25% of the exam - the largest domain!

Total Time: ~5 hours hands-on exercises


πŸš€ Getting Started

1. Clone Repository

git clone https://github.com/YOUR_USERNAME/docker-dca-labs.git
cd docker-dca-labs/en

2. Verify Docker

docker version
docker info | grep -E "Storage Driver|Logging Driver"

3. Start with Lab 01

cd lab-01-setup
cat README.md

4. Progress Through Labs

Complete labs 01 β†’ 08 in order. Each lab builds on previous knowledge.


πŸ’» Lab Environment Options

Option A: Docker Desktop (Recommended for Windows/Mac)

  1. Download from docker.com/products/docker-desktop
  2. Install and start Docker Desktop
  3. Enable Kubernetes in settings (for Lab 07)

Option B: Play with Docker (Browser-based)

  1. Visit labs.play-with-docker.com
  2. Log in with Docker Hub account
  3. Create multiple instances for Swarm labs

Option C: Linux VM / Cloud

# Ubuntu/Debian
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER

πŸ“ Exam Information

DCA Exam Overview

Aspect Details
Questions 55
Time 90 minutes
Format DOMC (Discrete Option Multiple Choice)
Administrator Mirantis
Validity 2 years
Cost $199 USD
Proctoring Online via Examity

Domain Weights

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Orchestration (Swarm)            β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  25%     β”‚
β”‚ Image Creation & Registry        β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ      20%     β”‚
β”‚ Installation & Configuration     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ        15%     β”‚
β”‚ Networking                       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ        15%     β”‚
β”‚ Security                         β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ        15%     β”‚
β”‚ Storage & Volumes                β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ            10%     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

DOMC Format Tips

⚠️ CRITICAL: In DOMC format, options are shown one at a time. You must answer YES or NO for each option. You CANNOT go back and change answers!

  1. πŸ“– Read the question carefully BEFORE seeing options
  2. 🧠 Think of the answer BEFORE seeing each option
  3. ⚠️ Some questions have MULTIPLE correct answers
  4. ⏱️ Budget ~1.5 min per question
  5. 🎯 Be confident before answering - no way to go back!

πŸ“– Resources

Official Documentation

Practice Resources


πŸ“‹ Quick Reference

See CHEATSHEET.md for a complete command reference.


πŸ“œ License

This project is licensed under the MIT License.


Good luck with your DCA certification! 🎯

About

Docker Certified Associate (DCA) lab exercises and practice materials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors