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
DOMAIN
DOMAIN
Docker
All types
Command
Procedure
Runbook
Concept
Trouble
Reference
Checklist
All collections
Basics
Cleanup
Compose
Concepts
Dockerfile
Images & Registry
Networking & Storage
Setup
Troubleshooting
32 of 32
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.
Concept
3 weeks ago
Docker core concepts
The mental model behind every Docker command: images are read-only templates, containers are running instances of them, and volumes, networks and registries handle data, connectivity and distribution.
Checklist
3 weeks ago
Dockerfile best practices
A pre-merge checklist for Dockerfiles: small, fast-building, secure and reproducible images.
Reference
3 weeks ago
Dockerfile instructions
Every Dockerfile instruction you need day to day, what it does, and the difference between the commonly confused pairs (CMD vs ENTRYPOINT, COPY vs ADD, ARG vs ENV).
Procedure
3 weeks ago
Install Docker on Ubuntu
Install Docker Engine and the Compose plugin on Ubuntu from Docker's official apt repository, then run docker without sudo.
Procedure
3 weeks ago
Multi-stage builds
Build in one stage with the full toolchain, then copy only the finished artifact into a small runtime image. Typical result: images 5-10x smaller with no compilers or source code inside.
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.
Command
3 weeks ago
Volumes & bind mounts
Keep data alive beyond a container: named volumes for app data managed by Docker, bind mounts for host folders like source code, tmpfs for throwaway in-memory files.
← PREV
PAGE 1 / 3
NEXT →
Docker · Knowledge & Memory Center