feat(lab12): kata vs runc isolation + perf + escape PoC#1563
Open
Muratich wants to merge 4 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
This PR delivers the completed bonus lab 12, comparing Kata Containers vs. runc in terms of isolation, performance, and a real container‑escape demonstration.
Changes
submissions/lab12.md— full submission with Task 1 (installation + kernel diff), Task 2 (isolation /dev, capabilities, startup & I/O benchmarks, trade‑off analysis), and Bonus (escape PoC with runc success vs Kata blocked)labs/lab12/results/:runc-kernel.txt,kata-kernel.txtrunc-caps.txt,kata-caps.txtrunc-devs.txt,kata-devs.txt,dev-diff.txtstartup-bench.txt,startup-avg.txt,io-bench.txtrunc-escape-output.txt,runc-host-verify.txtkata-escape-attempt.txt,kata-host-verify.txtTesting
sudo nerdctl run --rm alpine:3.20 sh -c "uname -a; head -3 /proc/cpuinfo"sudo nerdctl run --rm --runtime=io.containerd.kata.v2 alpine:3.20 sh -c "uname -a; head -3 /proc/cpuinfo"ls /dev,grep Cap /proc/1/statusfor both runtimesdate +%s.%Ndd if=/dev/zero of=/dev/null bs=1M count=100sudo nerdctl run --rm --privileged -v /tmp:/host_tmp alpine:3.20 sh -c 'echo "OVERWRITTEN BY RUNC CONTAINER" > /host_tmp/lab12-target && cat /host_tmp/lab12-target'(succeeds on runc, fails on Kata)/dev/coremissing in Kata, capability sets identicalArtifacts & Screenshots
submissions/lab12.md— complete submission with all required sectionslabs/lab12/results/(included in PR)Checklist
feat(lab12): kata vs runc isolation + perf + escape PoC)submissions/lab12.mdexists and is filled