Red Hat released the framework "Quarkus" that realizes Java applications optimized for container environments such as Kubernetes on March 7, 2019.
Let's go to the point where we can actually start the Docker container using this framework. I'll omit the cluttered explanations and just show the commands.
Install what you need, such as Java or Maven, with brew.
brew cask install java brew install maven
git clone https://github.com/quarkusio/quarkus-quickstarts.git
cd quarkus-quickstarts/getting-started mvn compile quarkus:dev
mvn package -Pnative -Dnative-image.docker-build=true docker build -f src/main/docker/Dockerfile -t quarkus/getting-started .
docker run -i --rm -p 8080:8080 quarkus/getting-started