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. |
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 .