Create Docker image FROM scratch
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile Change work dir Jul 2, 2014
README.md Add link to new blog May 11, 2017
helloworld.go Initial version Jul 2, 2014

README.md

helloworld

Create Docker image FROM scratch

This GitHub repository belongs with the following blog post:

http://blog.xebia.com/2014/07/04/create-the-smallest-possible-docker-container/

Update (11 May 2017): The image creation process is greatly simplified with the introduction of Multi-Stage Builds. See my new blog “Simplify the Smallest Possible Docker Image

The helloworld.go provides a simple web server that says Hello World. The Dockerfile creates a Docker image from scratch and places the Hello World web server inside it.