What is left out of a distroless base image?
- A shell and package manager
- Any way to expose ports
- Support for non-root users
- The ability to set ENTRYPOINT
Distroless images ship only the app runtime and its libraries, shrinking the attack surface; there is no shell to exec into.
Play DevOps ▸