DEVOPS
Docker
Docker from your first container to a Compose file you can explain. Start here if you have never run one.
0 likes
Likes for this tutorial.
Cut Rebuild Time With a BuildKit Cache Mount
Level: Advanced
Add a BuildKit cache mount to pip install so a changed requirements file downloads only the new packages. After this, a dependency change no longer means downloading everything again.
4 min read
0 likes
Likes for this tutorial.
Multi-Stage Node or Go Image Under 50 MB
Level: Advanced
Build a Go service in a multi-stage Dockerfile and ship it in an image well under 50 MB, with a non-root user and a health check. After this, you know why Go gets that small and Node does not.
4 min read
0 likes
Likes for this tutorial.
Cap CPU and Memory So One Container Can't Starve the Host
Level: Advanced
Set CPU and memory limits, watch them work, change them on a running container and set them in Compose. After this, one busy container cannot take the whole machine.
4 min read