IntelliJ Idea: build and run Java apps in docker containers IntelliJ Idea: build and run Java apps in docker containers docker docker

IntelliJ Idea: build and run Java apps in docker containers


What might be helpful is described here. Basically you need devtools and run a spring-boot application inside a docker container - musn't be done via java -jar ... - rather with maven or gradle plugins. Then setup a java application configuration with RemoteSpringApplication class and it should work.

Unfortunately I've experienced some problems, see this question.