The container that will not stay up
A container exits during startup. Inspect its exit status and logs, correct its launch configuration, and verify its health endpoint.

The scenario
A local Compose deployment fails immediately after starting. Recover the application by fixing its configuration without changing its source code.
Mission objectives
- Inspect the stopped container and its startup logs.
- Correct the service launch configuration and start it again.
- Verify that the running application responds to its health check.
Get the lab
Download and inspect the installer before running it. It checks the archive's SHA-256 digest and refuses to overwrite an existing lab directory.
curl -fsSLO https://devops.download/labs/devops-03-docker-startup-failure.sh less devops-03-docker-startup-failure.sh
bash devops-03-docker-startup-failure.sh
cd labs/devops-03-docker-startup-failure
./setup.shWhen you've made your changes, run ./verify.sh. Remove lab resources with ./teardown.sh.
Need a nudge?
Hint #1
Inspect the Compose service state and the application's logs before recreating the container.
Hint #2
The startup log identifies a configuration value required by the application.
Hint #3 · Deep Dive Runbook on opsbreakfix.com
Solved it?
Read the Official Root Cause Analysis & Certification Roadmap on opsbreakfix.com
Continue to opsbreakfix.com ↗