00 /What You Will Learn
By the end you will be able to
- Tell running from healthy, and write a healthcheck.
- Explain what
restart: unless-stoppeddoes when an app crashes. - Prove that data in a volume survives when a container is deleted and recreated.
- Say exactly what
docker compose downkeeps and whatdown -vdeletes. - Explain why containers reach each other by service name, never by IP address.
Before you start
Finish Lab 01 (Docker Compose Basics) first. You should be comfortable with docker compose up -d, ps, logs and with the idea of a service name. Docker Desktop must be running.