Skip to content

kenduraghav/docker-demo-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo App using Docker with OpenJDK:11

This demo app is built using Spring Tool Suite 4 and docker with OpenJDK:11 built based on the
tutorial specified here in this Youtube Link.

ℹ️

When using Docker Desktop with latest version which is v4.0.0 and Docker engine version as v20.10.8.
You need to disable buildkit feature (which is enabled by default) in order to build the image successfully.

Use the below configuration to disable the buildkit feature in your user.home directory

"${user.home}/.docker/daemon.json".

Otherwise you can Open Docker Desktop for Windows and Click → Settings → Docker Engine → You can edit docker configuration file.

"features": {
    "buildkit": false
    }

For more on docker buildkit failure refer this link

To build and run the docker image use the below commands

Build Command:

docker build -t demo .

Run Command:

docker run hello-docker:1.0 .

About

Hello Docker using Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published