You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


It is possible to use a docker image as the project interpreter in PyCharm. This can be helpful when extractors require dependencies that can be difficult to install (like GDAL). Since a docker image will eventually be created for any extractor, it also makes sense to build this into the development process as early as possible. This also ensures that the local environment will be the same as the docker image deployed elsewhere. The problem of something working locally (but not in docker) or an extractor that runs (but not locally) can be avoid using this method. 


Step 1: Build Docker Image (if one does not exist)


In order to be used as a python interpreter, the docker image must at least contain python and contain all currently required dependencies. You will not have to push the image to a remote repository; as long as it is local PyCharm will find it. 


Step 2: Pull docker image if using a remote image


If you would like to use an existing docker image, do a docker pull for that image. 


Step 3: Add Docker Image as Python Interpreter in PyCharm

  • No labels