Skip to content

stevenalexander/docker-java8-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Java 8 helloworld

Example Docker image that when echos "Hello world!" when run.

terminal gif

Image has JRE rather than JDK to limit installed components. Tested on Mac using Boot2Docker (v1.5.0).

Requires:

To run:

# compile class
javac helloworld.java

# build image
docker build -t java8-helloworld .

# run image
docker run -it --rm --name my-running-app java8-helloworld

About

Example docker image which runs helloworld

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages