Multi-Stage Docker Builds for Lighter Containers

Just Give Me the Code Fine…here you go. Motivation Consider the following Dockerfile: FROM scratch ADD ca-certificates.crt /etc/ssl/certs/ ADD main / CMD [“/main”] Since go is a compiled language, we can make our image lightweight by basing it… Read more

Similar

Docker OSS is becoming Moby

Docker is transitioning all of its open source collaborations to the Moby project going forward. During the transition, all open source activity should continue as usual. We are proposing the follo... (more…)

Read more »

Docker Official Images Are Now Multi-Platform

This past week, Docker rolled out a big update to our Official Images to make them multi-platform aware. Now, when you run docker run hello-world, Docker CE and EE will pull and run the correct hello-world image whether that’s for x86-64 Linux, Windows, A... (more…)

Read more »