Skip to content

A web app container which listens on tcp/8080 and prints "Hello World"

Notifications You must be signed in to change notification settings

pan-net-security/hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

hello-world

A web app container which listens on tcp/8080 and prints "Hello World".

Static compiled, no dynamic dependencies, no OS (distroless).

Build

docker build -t hello-world .

Run

docker run --rm -p 8080:8080 hello-world

The container will run and bind to port 8080 on localhost. In another terminal screen, do:

curl localhost:8080
Hello world!

Image Size

docker image ls hello-world --format '{{ .Size }}'
4.19MB

About

A web app container which listens on tcp/8080 and prints "Hello World"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published