To share installation, we decided to work with docker. For each project, global dependencies are installed inside the container.
We are developping with Python (and Java, but at this time, let's speak about Python only ;) )
Working with Vim (for example), I want to use code completion, but because the entire libs are installed in container, my vim installation on host cannot access them. This is true with Java, Javascript, and so on and it's absolutly normal...
But is there any solution to be able to work with container, getting access to libs for IDE, without to install IDE in the container itself ?
But is there any solution to be able to work with container, getting access to libs for IDE, without to install IDE in the container itself ?
The trick is to run your IDE from the container. Your IDE is installed on your host, you just run it in the container.
For this to work, you need an IDE
container that has:
An example of all this with a well known Python IDE instead of vim is discussed here:
Warning: this has been validated on Ubuntu 14.04 only.
PyCharm Docker Integration
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With