41/53
Sign inSign up free

512. Start Debug Tools Only When Asked

easy 10 XP ~6 minHands-on lab

There is no container engine in this lab: docker compose isn't available, but docker-compose config validates and prints the merged configuration, which is what the grader reads.

/home/student/projects/image-resizer/compose.yaml starts four services: app, db, adminer (a database web UI) and mailpit (a fake mail server). The debug tools eat memory on everyone's laptop and shouldn't run in CI.

Task

  • docker compose up (no options) must start only app and db.
  • docker compose --profile debug up must start all four.
  • Don't remove or rename any service, and keep their images and ports.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.