/helloworld

Create Docker image FROM scratch

Primary LanguageGo

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.