Skip to content

a smallest docker example used for testing and training

Notifications You must be signed in to change notification settings

b1-systems/hello-docker-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

a tiny Docker container of a smallest "Hello Docker World App"

This example demonstrates the use of Docker multi-stage builds to create a smallest "Hello Docker World" container. The resulting docker container is only 512 Byte, compared to 156 MB of full alpine:latest alpine base image with build environment.

It is used for testing and training.

Build the hello-docker-world app

Note: You will need docker a version higher or equal to 17.05 use the multi-stage build.

docker build -t hello-docker-world .

Run the container

docker run --ti --rm hello-docker-world

Releases

No releases published

Packages

No packages published