Work with docker and IDE
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT
Music by Eric Matyas
https://www.soundimage.org
Track title: Secret Catacombs
--
Chapters
00:00 Work With Docker And Ide
00:44 Answer 1 Score 0
01:05 Accepted Answer Score 3
01:53 Answer 3 Score 0
02:09 Thank you
--
Full question
https://stackoverflow.com/questions/2806...
--
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.
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