Hardening Docker Containers Using gVisor Runtime
Scenario
You are responsible for hardening Docker workloads on a system that requires strong container isolation.
The environment already includes gVisor (runsc).
Tasks
- Your task is to configure Docker so that all new containers use gVisor as the default runtime.
- Start a container and record:
- the container kernel release in:
/root/container-kerneal-release.txt
- the host kernel release in:
/root/host-kerneal-release.txt
- Ensure that the kernel releases in both files are different.
🧪 Test Cases
Level up your Server Side game — Join 20,000 engineers who receive insightful learning materials straight to their inbox