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
#troubleshooting
All types
Runbook
Trouble
7 of 7
Trouble
3 weeks ago
Cannot connect to the Docker daemon
Fixes for "Cannot connect to the Docker daemon at unix:///var/run/docker.sock" and "permission denied while trying to connect to the Docker daemon socket".
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.
Trouble
3 weeks ago
Containers cannot reach each other
"Connection refused", "could not translate host name" or timeouts when one container calls another. Almost always a network, hostname or port mix-up.
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.
Trouble
3 weeks ago
No space left on device
Builds, pulls or containers fail with "no space left on device". Docker keeps old images, stopped containers, volumes, build cache and logs until you remove them.
Trouble
3 weeks ago
Port is already allocated
Fix "Bind for 0.0.0.0:8080 failed: port is already allocated" and "address already in use" when starting a container.
Trouble
3 weeks ago
exec format error (wrong CPU architecture)
"exec format error" or "no matching manifest for linux/arm64": the image was built for a different CPU architecture than the machine running it (amd64 vs arm64, e.g. Apple Silicon or AWS Graviton).
#troubleshooting · Knowledge & Memory Center