Docker
/Intermediate
Container Security
Definition
The overarching practices and tooling used to protect containerized applications from vulnerabilities, unauthorized access, and malicious attacks throughout the build-ship-run lifecycle.
Explain Like I'm New
Making sure hackers can't break into the box, and if they do break into the box, making sure they can't break OUT of the box to attack the main server.
Real World Example
A hacker finds a vulnerability in a Node.js library and gets a terminal shell inside the container. Because of good Container Security practices (the container is running as a non-root user, the filesystem is read-only, and capabilities are dropped), the hacker is completely trapped and can't do any damage.
Common Use Cases
- •DevSecOps
- •Compliance
- •Threat modeling
Interview Questions
basic
- Is a Docker container inherently as secure as a heavily isolated Virtual Machine?
intermediate
- What is a 'Container Escape' vulnerability?