Dockerfile best-practices for writing production-worthy Docker images. - hexops/dockerfile
Docker Security Best Practices from the Dockerfile
Docker and container security are broad problem spaces and there are many low hanging fruits one can harvest to mitigate risks. A good starting point is to follow some best practices when writing Dockerfiles.
Shrinking this site’s docker image - Hampton Moore
How this site’s docker image shrunk from 419MB of bloat and NPM modules to 39MB using Docker build layers
Docker Security - OWASP Cheat Sheet Series
Website with the collection of all the cheat sheets of the project.
Tiny Container Challenge: Building a 6kB Containerized HTTP Server!
TL;DR I set out to build the smallest container image that I could that was still able to do something useful. By taking advantage of multistage builds, the scratch base image, and a tiny assembly based http server, I was able to get it down to 6.32kB!