Posts about docker
2 posts
-
Graceful shutdown: handling SIGTERM without dropping requests
Every deploy stops your old processes. Here is how to handle SIGTERM so in-flight requests finish, connections close cleanly and users never notice.
-
Smaller Docker images with multi-stage builds
How multi-stage Dockerfiles keep compilers and dev dependencies out of your final image, with a simple Node example and a few habits that help.