From 17a24ef25725d79bb7ce9666d895f5224d88d7fd Mon Sep 17 00:00:00 2001 From: jamesche75 Date: Fri, 6 Sep 2019 05:57:27 -0500 Subject: [PATCH] Updated bullet on FROM instruction. (#7275) If you try and build an image without a FROM instruction in the Dockerfile, the Docker daemon will throw an error. You must include "FROM scratch" to build a base image. --- develop/develop-images/baseimages.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/develop/develop-images/baseimages.md b/develop/develop-images/baseimages.md index 1b22a86e65..4f6f37b61f 100644 --- a/develop/develop-images/baseimages.md +++ b/develop/develop-images/baseimages.md @@ -17,8 +17,7 @@ Here's the difference: image. Most Dockerfiles start from a parent image, rather than a base image. However, the terms are sometimes used interchangeably. -- A [base image](/glossary.md?term=base%20image) either has no `FROM` line - in its Dockerfile, or has `FROM scratch`. +- A [base image](/glossary.md?term=base%20image) has `FROM scratch` in its Dockerfile. This topic shows you several ways to create a base image. The specific process will depend heavily on the Linux distribution you want to package. We have some