linkdrift
Everyone Uses Docker. Almost Nobody Uses It Right in Production.

Everyone Uses Docker. Almost Nobody Uses It Right in Production.

·7 min read

Production-ready containers aren’t built on day one. They get there through a series of hard lessons. Your first Dockerfile works. It builds. It runs. It passes the demo. It’s also 1.2GB, takes 9

Production-ready containers aren’t built on day one. They get there through a series of hard lessons. Your first Dockerfile works. It builds. It runs. It passes the demo. It’s also 1.2GB, takes 9 minutes to build, runs as root, and ships with hundreds of known vulnerabilities. Every best practice in a Dockerfile exists because someone pushed bad containers to production. Learn from those mistakes and keep your production system safe and fast. >> You start with a basic Dockerfile. FROM python:3.1

10
0
0
0
Read full article on X