The Python Oracle

Work with docker and IDE

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Lost Civilization

--

Chapters
00:00 Question
00:47 Accepted answer (Score 3)
01:48 Answer 2 (Score 0)
02:13 Answer 3 (Score 0)
02:41 Thank you

--

Full question
https://stackoverflow.com/questions/2806...

Accepted answer links:
[PyCharm Docker Integration]: http://blog.jetbrains.com/pycharm/2015/1...

Answer 2 links:
https://github.com/marioluan/java-data-s...

Answer 3 links:
https://registry.hub.docker.com/_/python/

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#java #python #vim #ide #docker

#avk47



ACCEPTED ANSWER

Score 3


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:

  • all the system requirements your IDE needs
  • can display GUI applications
  • has a volume mounted on the location of your IDE on your host

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




ANSWER 2

Score 0


Why don't you checkout the official image for python?

It doesn't provide exactly what you're looking for but it supports a workflow where the container is built the same way as it should be run on your development machine (dependencies listed in the "requirements.txt" and downloaded using pip).

Hope this helps.




ANSWER 3

Score 0


You may also try using cloud-based IDEs like eclipse che or cloud9.

It has support for docker and runs in a browser.

Update: I just found out that eclipse che and cloud9 are not mature enough to run java apps, so you might want to try Intellij: https://github.com/marioluan/java-data-structures