As you might be aware, there is a Docker plug-in for IntelliJ IDEA available in this link. I downloaded the version 2.1.5 of the plug-in “Docker Integration”, saved it to disk and then via standard Ctrl+Alt+S I was able to select it from the Plug-ins panel (more details here).
This plug-in offers pretty much the same functionality than the Eclipse MARS plug-in (which was reviewed previously in Connecting Eclipse on Windows to remote Docker Daemon and includes running/inspecting containers, setting up port bindings, links, volumes and environment variables) plus the following interesting features:
- You can specify debug ports to be used by the Java Debug Wire Protocol (JDWP).
- You can run a SSH terminal from inside IntelliJ IDEA.
- You can run any external tool (including a Maven Goal or a Gradle Task) straight from the Run/Debug configuration.
- You can start a web browser once the app has been deployed.
The main difference between the docker experience offered by Eclipse vs IntelliJ IDEA is that IntelliJ IDEA sees Docker as a deployment target and offers good integration with the rest of the IDEA whereas in Eclipse, the Docker Tooling has a lighter integration. I will cover and compare this with the Visual Studio Tools for Docker soon and how to deploy ASP.Net Core apps to Docker containers.
Thanks for reading,
Javier Andrés Cáceres Alvis