
Docker: Core Concepts
After having a good look at the top-down overview of how docker works. Let’s dive into the core concept by following the official docker workshop Docker: The tool/platform that manages everythin...

After having a good look at the top-down overview of how docker works. Let’s dive into the core concept by following the official docker workshop Docker: The tool/platform that manages everythin...

It works on my machine !!! I am using Fedora VM so I am following installtion on Linux guide for Docker Desktop. Under general requirement, it says Docker desktop depends on KVM virtualizatio...

A pointer is just a variable whose value is the address of another variable. Let’s introduce two variables: & (address of): give me the address of this variable * (dereference, in a decl...

Here I will introduce ideas like scope, separate compilation, and the preprocessor. Basic Structure of function: return-type function-name(parameter declarations) { declarations statements...

Variable names The conventions (not enforced, but expected) Underscore-leading names are conventionally avoided in your own code. Names starting with _ are often used by library implementations ...

C’s philosophy - “Don’t do anything the programmer didn’t ask for” I am reading the book The C Programming Language, 2nd Edition by K&R. As I was going through the preface of the book, I liked...
Here we will look at the relationship between process, the kernel and the system resources. The tools we will be discussing can be thought of as performance-monitoring tools. Tracking processes We...

Here we will start with the structure of /etc then we will move on to system logging, user management, cron job and working of PAM. The structure of /etc Everything in here is meant to be human-re...
Userspace “starts” at the exact moment the kernel successfully executes the first userspace program, called PID 1. Everything after that - services, login, networking - is launched by PID 1 (direct...
Ever wondered what really happens in those few seconds (or agonizing minutes on older hardware) between pressing the power button and finally seeing that glorious login screen? It often feels like ...