Tag: deployment

How to run a java application as docker container

This post describes how to run a java application inside a docker container. I use a spring boot app with tomcat as an example but it would also work with other executable jar files. I use docker-compose for container configuration. With a new maven profile the application is build and deployed to be started as container.