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
#build
All types
Command
Procedure
Trouble
Reference
All collections
Dockerfile
Images & Registry
Troubleshooting
4 of 4
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
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.
Command
3 weeks ago
docker build
Builds an image from a Dockerfile — each instruction becomes a cached layer, so unchanged steps stay fast on rebuild.
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).