docs/scratch
Tianon Gravi ce60932717 Note that "FROM scratch" is now a special case 2015-04-21 10:30:38 -06:00
..
README-short.txt Add a bunch more content 2014-10-10 18:07:15 -06:00
README.md Note that "FROM scratch" is now a special case 2015-04-21 10:30:38 -06:00

README.md

FROM scratch

This image is most useful in the context of building base images or super minimal images (such as images that contain only a single binary; see hello-world for an example).

As of Docker 1.5.0 (specifically, docker/docker#8827), FROM scratch is a no-op in the Dockerfile, and will not create an extra layer in your image (so a previously 2-layer image will now be a 1-layer image instead).