Posts

Docker Filesystem Internals (AdvancEd)

Docker Filesystem Internals (Advanced) Docker Filesystem Internals (Advanced) This post is for readers who already understand Docker basics and want to learn how Docker manages files internally. If you are new to Docker, read the beginner guide first. Containers Do NOT Have Their Own Disk A common misunderstanding is that Docker containers have their own disk. In reality: Containers do not have a separate physical filesystem. Docker creates a filesystem view using layers stored on the host machine. This layered filesystem is implemented using a Union Filesystem , most commonly OverlayFS on Linux. Docker Images Are Read-Only Layers A Docker image is made up of multiple read-only layers. Each instruction in a Dockerfile creates a new layer. FROM python:3.11 RUN pip install flask COPY app.py . ...

🐳 Docker Tutorial for Beginners: Step-by-Step with a Simple Example

🐳 Explained with a Simple Python Example (Beginner Friendly) Docker Explained Using a Very Simple App (Beginner Friendly) Goal: Build a tiny Python app, run it normally, then run the same app using Docker, and understand why Docker helps. Step 1: Create a Very Small Python App Create a file named app.py : print("Hello I am running inside Docker!") Step 2: Run the App WITHOUT Docker Run this on your machine: python app.py Common real-life problems: Python not installed, wrong Python version, missing dependencies, different OS behavior this is where the “works on my machine” issue starts. Step 3: Introduce Docker Instead of relying on your system, Docker lets you package the runtime (Python) together with your app. We’ll do that using a Dockerfile . Step 4: Create a Dockerfile Create a file named Dockerfile (no extension): ...

My First Cruise to the Bahamas: What to Pack & What to Expect – A 4-Night Adventure!

Image
This was my very first trip to the Bahamas—and even better, it was by cruise! Our journey started in North Carolina, and we drove down to Orlando, Florida, to board the ship. Excitement? Through the roof! But let me be honest—when it came to packing, especially as a girl, I had no idea what to wear each day. Swimsuits? Dresses? Nightwear? It’s always confusing! 🌍Day 1 – Port of Entry & Cruise🛳️ Kickoff Once you check in, you’ll notice that rooms and luggage take a little while to be ready—so plan your outfit accordingly! What to wear: A comfortable cover-up or dress/skirt that’s easy to remove. Underneath, wear your swimsuit or swim dress—you’ll want to head straight to the water deck. Don’t forget sunglasses, sunscreen, and comfy 🩴 ! What to do: Head to the upper deck to enjoy the pools, water slides, and hot tubs. Explore the ship—it’s massive! Enjoy unlimited food, drinks, and good vibes. Take it slow and soak in that you’re officially on vacation! Day 2 – Exploring Nassau, B...

Aurora MySQL Default Authentication Plugin,mysql_native_password,

MySQL default authentication plugin- mysql_native_password, caching_sha2_password AWS RDS for MySQL version 8.0.34 and higher 8.0 versions use the  mysql_native_password plugin. You can't change the default_authentication_plugin  setting. RDS for MySQL version 8.4 and higher versions use the  caching_sha2_password  plugin as the default authentication plugin.You can change the default authentication plugin for MySQL 8.4. The  mysql_native_password plugin still works with MySQL 8.4, but support of this plugin ends with MySQL 8.4 To change the default authentication plugin, create a custom parameter group and modify the value of the authentication_policy  parameter MySQL’s mysql_native_password plugin is deprecated starting from MySQL 8.0.34 , disabled by default in MySQL 8.4 , and removed entirely in MySQL 9.0 . Amazon RDS for MySQL has switched to caching_sha2_password as the default authentication plugin for improved security and performance Examp...

What’s Inside EKS? A Beginner’s Guide to Its Core Components

Image
 EKS (Elastic Kubernetes Service) EKS is a managed service by AWS that runs Kubernetes for you. It takes care of setting up and managing the Kubernetes control plane so you can focus on running your applications. Kubernetes  Kubernetes is an open-source system for automating the deployment, scaling, and management of containerized applications. It helps run apps reliably across a cluster of machines, automatically handling scheduling, scaling, updates, and recovery. Pod A Pod is the smallest unit in Kubernetes. It can hold one or more containers that share the same network and storage. All containers in a pod are scheduled and managed together. Container A Container is a lightweight, standalone package that includes everything an app needs to run — code, runtime, libraries, and dependencies. It ensures the app runs the same no matter where it’s deployed. 👀1 pod can have multiple containers but 1 container cannot belongs to multiple pods.