Where to start First steps track · 15 stages
Linux Labs

Containers: Docker and compose

Quiz: several containers

Question 9 of 10
Leave the quiz

Read the output

In compose.yaml api's APP_PORT was changed to 8080, and its health check stayed the same. What happened?

$ sudo docker compose up -d
 Container notes-api-1  Recreate
 Container notes-api-1  Recreated
 Container notes-proxy-1  Running
 Container notes-api-1  Starting
 Container notes-api-1  Started
 Container notes-api-1  Waiting
 Container notes-api-1  Error
dependency failed to start: container notes-api-1 is unhealthy
Back A–D or ↵ Sign in to answer
Loading…