coding-to-music / coding-to-music.github.io

https://pandemic-overview.readthedocs.io/en/latest/index.html
MIT License
2 stars 8 forks source link

Which Container Images To Use — Distroless Or Alpine? #126

Open coding-to-music opened 3 years ago

coding-to-music commented 3 years ago

Which Container Images To Use — Distroless Or Alpine? https://itnext.io/which-container-images-to-use-distroless-or-alpine-96e3dab43a22

Based on this experiment, here is what I observed in my environment — Image Size — Image compiled using Alpine base image was 93.5 MB whereas the distroless image was 139 MB. So Alpine image was lighter when compared to the distroless image. No. of vulnerabilities — Alpine image had a total: 216 vulnerabilities (UNKNOWN: 0, LOW: 106, MEDIUM: 79, HIGH: 27, CRITICAL: 4) whereas Distroless Image had a total Total: 50 vulnerabilities (UNKNOWN: 0, LOW: 30, MEDIUM: 6, HIGH: 9, CRITICAL: 5)

coding-to-music commented 3 years ago

How to Harden Your Containers With Distroless Docker Images Use distroless images to secure your containers on Kubernetes https://betterprogramming.pub/how-to-harden-your-containers-with-distroless-docker-images-c2abd7c71fdb