Skip to Content
Docker Intermediate: Images and Compose That Survive Real Projects
Intermediate
0 likes
Courses
Docker Intermediate: Images and Compose That Survive Real Projects

Check Yourself: Compose for Real Apps

Five scenario questions on depends_on, health checks, job dependencies, env files and secrets. If you miss more than one, reread the lessons in this section.

Course content

Sign in to save your progress.

Course Home
2. A health check uses curl, but the image only has wget. The container never becomes healthy and the service that depends on it never starts. What is the cause?
3. A migrate service runs once and exits with code 0. Which depends_on condition makes another service wait until the migration has finished successfully?
5. You need a database password available to a container, and you do not want it visible to anyone who runs docker inspect. What is the better choice?

About

Five scenario questions on depends_on, health checks, job dependencies, env files and secrets. If you miss more than one, reread the lessons in this section.

Duration
5 min
Last update
08/01/2026
Was this helpful?
​ 0 ​ 0

Comments (0)

Sign in to comment

No comments yet.