by kd913 · 2w ago · 0 comments
stable-alpine-slim docker iamge is only 14MB?
Not saying that thie image is affected (I don't know), but small footprint does not guarantee security either. It can hit systems of any complexity these days.
Containers by default enforce some level of restrictions and a sandbox around it all.
If someone does break alpine, nginx, they would still need to get out of the container sandbox?
nginx when hosed gives full access to the system.
As a Redhat container developer (IIRC) put it a long time ago: Containers do not contain.
Especially with docker everything running as host root opens new problems. Rootless containers as podman are more complex, so more code again. And user namespaces had their own vulnerabilities.
No simple answer to security...