Challenge, Medium,  on  Containers

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

  1. Your task is to configure Docker so that all new containers use gVisor as the default runtime.
  2. 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
  1. 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