Tag

#DevOps

Every article tagged DevOps, in one place.

  • 11 articles
  • 13 min of reading
  • 01 Oct, 2026 last updated

Showing 11 articles

Docker 1 min read

How to Shrink Docker Images

Smaller images pull faster, start faster, cost less to store and contain fewer packages with vulnerabilities. Going from 1.2 GB to under 200 MB is common. 1. Choose a smaller base image node:22 (Debian full) - large, has build tools. node:22-slim - Debian with...

08 Aug, 2026 Author 418 131
Read article
Docker 1 min read

Docker Security Best Practices

Containers isolate processes, but a careless image or run command can undo most of that protection. These practices close the common gaps. 1. Don't run as root RUN addgroup -S app && adduser -S app -G app USER app If an attacker exploits your app, they get the...

14 Jun, 2026 Author 829 38
Read article
Node.js 1 min read

Graceful Shutdown in Node.js

Containers and process managers stop your app by sending SIGTERM . If you exit immediately, requests in progress fail and database transactions are cut off. A graceful shutdown finishes the current work first. The steps Stop accepting new connections. Let in-f...

13 May, 2026 Author 423 114
Read article
MySQL 1 min read

Backing Up and Restoring MySQL Databases

A backup you've never restored is a hope, not a backup. Here's how to take consistent MySQL backups and prove they work. Logical backups with mysqldump mysqldump --single-transaction --routines --triggers --events \ --set-gtid-purged=OFF -h db -u backup -p sho...

17 Apr, 2026 Author 1.38K 119
Read article