Docker and CI/CD · Middle · Question 25 of 75
What is a distroless image?
- 1An image built without a Dockerfile, using only the CLI
- 2An image that runs without any Linux kernel underneath it at all
- ✓Correct answer: An image with your app and runtime, but no shell or package manager
Explanation
Fewer tools mean fewer vulnerabilities and less for an attacker to use. Debugging is harder, so debug variants with a shell exist.