Docker

Write an awesome doc for Docker, Docker Compose, and everything else in this domain. You can find invaluable examples and explanations here. I am trying to keep it up to date and relevant too. BTW if you also have a cool idea, or example open a PR/issue/discussion.

View on GitHub

Choose the right image

A worthy contender, bitnami. Similar to official images most of the times but there are cases that bitnami shines too, like MongoDB.

NodeJS

Help! My Node.js Docker Image Has Python 🐍 — Uncovering the Right Base Image for Your Node.js App.

[!CAUTION]

If you do not need to compile a NodeJS module from CPP it is best to use node:22-slim or any other slim versions!

Fat node images

This increases:

  • Security, no shell, no other 3rd-party lib/pkg that you do not need.
  • Cost efficiency, do not need too much space, less conflicting or issues with libs, less maintenance time on things that you ain’t even using.

PostgreSQL