10% OFF VCF Special Offer – Limited Seats Available! Claim my offer
Docker · hands-on lab

Docker Lab 03: Build Images with a Dockerfile

Write a Dockerfile for a small Python web app, build and tag it, run it with a published port and as a non-root user.
  • 45 minutesTime in the lab
  • IntermediateLevel
  • 6 tasksChecked automatically
  • CertificateVerifiable link when you finish

The situation

A developer hands you a tiny Python app. You package it so it runs the same everywhere.

What you will do

  1. Guided exercise: The app
  2. Guided exercise: Dockerfile
  3. Lab: Run and override
  4. Lab: Run as a non-root user
  5. CMD and ENTRYPOINTquestion
  6. COPY or ADDquestion

How it works

The lab opens in your browser: a real terminal or desktop, nothing to install. Work through the tasks, press Check after each one and the portal verifies your work. Stuck? Ask for a hint. Finish every task and you get a certificate page with its own verification link for LinkedIn or your CV.