Interview practice question
Running untrusted user code in containers
Cloud & DevOps · Docker · Experienced
Your product lets customers run their own code, like scripts or plugins. How would you run it safely with containers?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Assume hostile code.
- Sandboxed runtime (gVisor/Firecracker/Kata) or VMs.
- Drop all capabilities, seccomp, non-root, read-only FS.
- Strict resource limits, network egress control.
- Separate nodes/accounts, monitoring.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.