Hi Craig, docker is also supported in IntelliJ, do you have Docker Integration plugin installed?


I sure do, but there is no 1:1 match to this. The steps and windows are quite different in IntelliJ and JetBrains rarely (if ever) explains them, which as an IntelliJ user, is very frustrating.

I find it's as if nobody at JetBrains has ever actually used the plugins. I have had many an issue similarly with other features and plugins. Great if you're using the dedicated product, too bad if you're using IntelliJ. It's increasingly frustrating and I don't understand why there's no guide or blog post about it. Hence my comment about feeling like JetBrains is leaving us IntelliJ users basically in the trash (I'm referring to this as a paid ultimate edition user) 

So please, read the article, then read the comments. There are questions there about how to do this in IntelliJ that are sadly ignored.

I would greatly appreciate it if you take me through the steps to do this in IntelliJ (not pycharm) using the python and Docker plugins.

Thank you


The only major difference is the interpreter selection menu I believe, let's go through the whole blog post:

1. A sample project from https://github.com/ErnstHaagsman/flask-compose

2. Open it in IntelliJ with Python and Docker Integrations plugins

3. We need to configure the connection to Docker daemon, as in PyCharm it's under Settings | Build, Execution, Deployment | Docker, press + button and new connection profile will be created, default options should be ok for simple case

4. Next step is to configure docker-based interpreter, in IntelliJ it's under File | Project Structure | Project | Project SDK, we need a Python SDK

5. The blog post is rather old, we have a new interpreter wizard here, but it should be straightforward, select Docker Compose and add docker-compose.dev.yml to the list of configuration files:

6. Press OK in Add Python Interpreter window and wait for skeleton generation

7. Now you should be ready to Run/Debug flask-compose.py as usual, PyCharm will perform docker-compose up in the background for you.


So I don't need to set the project path link? I can just skip that step?


Yes, you can skip it. Path mappings don't work in Plugin PY-29944, but they are not required in this case.


I had some issues with this, but I guess it was with the way the project had been setup, I had to set the working path to the local directory manually. After that, I finally got this working.

Thanks for your help.


Please sign in to leave a comment.