I want to implement docker in spring and hibernate application using gradle

I had develop an application using gradle and spring-Hibernate. Now i want to implement docker in the same. Can somebody tell me how to proceed. i read many tutorials of docker but unable to get the right resource.

  • Troubleshooting API timeout from Django+Celery in Docker Container
  • Schema Registry container: Server died unexpectedly when launching using docker-compose
  • Symfony2 app slow response on MacOS & Boot2Docker
  • Unable to mount persistent volume to Docker container using Rex-Ray and VirtualBox Media storage - “Invalid managed object reference” error
  • Postgres sql file seems to not finish
  • Using docker-compose (formerly fig) to link a cron image
  • Spring Boot & Docker
  • Starting multiple services inside Docker container
  • Piping a file into docker run
  • Reverse proxy to WordPress container
  • (spotify:1): Gtk-WARNING **: cannot open display: unix
  • External Server mysql_connect No route to host
  • One Solution collect form web for “I want to implement docker in spring and hibernate application using gradle”

    You will develop your application the same way then before. Additionally you would create a Dockerfile that uses the java image as parent. As a CMD you pass a java -jar ... command. More details you can find on the provided link above.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.