Skip to main content

37 posts tagged with "Linux"

Linux administration and shell scripting

View All Tags

Rootless Docker — Run Containers Without Root Privileges

· 8 min read
Goel Academy
DevOps & Cloud Learning Hub

By default, the Docker daemon runs as root. Every container you start has root-level access to the host kernel. If an attacker escapes the container — through a kernel vulnerability, a misconfigured volume mount, or a privileged container — they land on the host as root. Game over. Rootless mode eliminates this risk by running both the Docker daemon and containers under a regular, unprivileged user account.

How Containers Actually Work — Namespaces, Cgroups, and chroot

· 7 min read
Goel Academy
DevOps & Cloud Learning Hub

Docker isn't magic — here's how to build a container with just Linux commands. Containers are nothing more than regular Linux processes with three layers of isolation: namespaces (what a process can see), cgroups (what a process can use), and a changed root filesystem (where a process lives). Once you understand these primitives, Kubernetes networking, Docker storage drivers, and container security all start making sense.

Linux Kernel Parameters (sysctl) Every SRE Should Tune

· 6 min read
Goel Academy
DevOps & Cloud Learning Hub

Default kernel settings are for laptops — here's how to tune for production. Every Linux server ships with conservative defaults designed for general-purpose use. If you're running a web server handling thousands of concurrent connections, a database, or a Kubernetes node, those defaults are actively hurting you.

Bind Mounts vs Volumes vs tmpfs — Docker Storage Deep Dive

· 10 min read
Goel Academy
DevOps & Cloud Learning Hub

Containers are ephemeral. When a container is removed, everything inside it — application data, uploaded files, database tables — is gone. Docker offers three storage mechanisms to persist data beyond the container lifecycle, and choosing the wrong one causes problems ranging from poor performance to data loss. Here is when and why to use each.