Day 2 Task: Minimal Container with a Private Root Filesystem

Day 2 Task: Minimal Container with a Private Root Filesystem Goal:Manually mount a minimal filesystem and run a process inside it, fully isolated. Step 1 — Create a minimal root filesystem On your lab machine: bash KopierenBearbeiten mkdir -p ~/mycontainer/rootfs sudo...

Day 1 Task: Build a Basic Isolated Shell

Day 1 Task: Build a Basic Isolated Shell Goal:Start a real shell process isolated into its own namespaces,limited by a cgroup that restricts CPU usage. Step 1 — Create a new isolated shell On your lab machine: bash KopierenBearbeiten sudo unshare –fork...

runc: a tiny „mini-lab“ environment setup

Perfect, let’s keep it simple and practical. Here’s your Mini-Lab Setup: 1. Create a safe playground machine You don’t want to mess up your main workstation by mistake.The best is a small, disposable virtual machine. Options: Use VirtualBox (free) +...