#Docker.
6 posts filed under this topic.
Docker Cheat Sheet: Images, Containers, Compose & More
Complete Docker reference — pulling images, running containers, volumes, networks, exec, logs, Docker Compose commands, Dockerfile tips, and disk cleanup.
How to Install Docker on Ubuntu, macOS and Windows
Install Docker Desktop or Docker Engine step-by-step on Ubuntu, macOS, and Windows — including post-install setup, running your first container, and Docker Compose.
How to Run PostgreSQL Locally with Docker
Run a full PostgreSQL database locally in under 2 minutes using Docker — with persistent volumes, docker-compose setup, GUI client access, and dump/restore commands.
How to Set Up a .env File and Stop Leaking Secrets
What .env files are, how to load them in Node.js, Python, and Docker, the common mistakes that expose API keys, and how to manage secrets safely in production.
How to Write a Production Dockerfile for Node.js
Build small, fast, production-ready Docker images for Node.js — layer caching, multi-stage builds, non-root user, health checks, and .dockerignore explained.
Docker Desktop Was Killing My Laptop. Here Is What Fixed It.
Docker Desktop using 6GB RAM and spinning the fan constantly. A few targeted config changes — memory caps, layer caching, dev vs prod images — fixed it completely.