memory
/center
◐
/
✎
NOTES
◐
COMMANDS
⌘K
+ CAPTURE
⌂
◐
◎
⌁
BROWSE
108 notes
Filter notes
/
Enter opens the top match. Use /regex/i for patterns.
▸
Software Enginner
1
▸
Linux
15
▸
Docker
32
▸
Git
24
▸
Kubernetes
16
▸
Markdown
5
▸
GitHub Actions
15
▾
RECENT
Fix bugs or Add features
docker system prune
curl API testing: repeat 100×, load & timing
Install .deb files & alternative install methods (Ubuntu)
⌂
Home
◐
Search
☰
Library
◎
Graph
TAG
TAG
#debug
All types
Command
Runbook
Trouble
All collections
Basics
Troubleshooting
Workloads
8 of 8
Trouble
3 weeks ago
Container exits immediately or keeps restarting
A container that stops right after docker run, or loops in "Restarting", almost always has a main process that exits or crashes. The exit code tells you why.
Runbook
3 weeks ago
Debug a failing workflow
Routine for red or stuck workflow runs: read the failing step, enable debug logs, reproduce locally, and match the error against the usual suspects.
Runbook
3 weeks ago
Debug a misbehaving container
A top-down routine for any "my container is not working" moment: status, logs, config, inside, network, resources. Work down the list and stop at the first thing that looks wrong.
Runbook
3 weeks ago
Debug a misbehaving pod
A top-down routine for any "my pod is not working" moment: status, events, logs, inside, network, resources. Stop at the first thing that looks wrong.
Trouble
3 weeks ago
Pod stuck in CrashLoopBackOff
The container starts, exits, and Kubernetes backs off before restarting it. The pod is a symptom the cause is almost always in the previous container log or the probe config.
Command
3 weeks ago
docker exec
Runs a command inside an already-running container — the way in when you need to poke around live.
Command
3 weeks ago
docker inspect
Shows the full low-level JSON for a container, image, volume or network: IP address, mounts, env vars, exit code, health and more.
Command
3 weeks ago
docker logs
Prints a container's stdout/stderr — the first place to look when a container is crashing or misbehaving.
#debug · Knowledge & Memory Center