build-container.sh ]Ĭompiles Projector inside Docker and builds a Docker container locally. Note: if you already have these projects locally existing, you can place them to proper locations and avoid this script. Here are the default parameters, so you probably need to change localhost in both places to needed IP: Script list clone-projector-core.shĬlones projector projects from Git to proper locations: If you want to access IDE run on another host, you need to change page parameters. If you don't want to clone the project every time you start the container, go further: use run-container-mounted.sh.
If you want to try your project, you can clone it via Git. To access Projector Server with IDE, use There will be a sample Kotlin + Java project opened, just close some dialogs. This will run Projector Server with IntelliJ IDEA Community locally. Version of Docker (18.09 or higher) is required.Ĭlone this projector-docker repo and make the following actions. Use Docker BuildKit in our scripts, a current Scripts in this repo will help you to do it.įirstly, please check your Docker version: since we If you don't want to pull an image, you can build it yourself. Run IntelliJ IDEA in Docker (building image yourself) To access Projector Server with IDE, use If you want to save the state of the container between launches, go further: take a lookĪt run-container-mounted.sh script. This will run Projector Server with the selected JetBrains IDE locally.
Clion docker how to#
How to run JetBrains IDE in Docker and access it via a web browser?įirstly, pull an image with needed IDE: docker pull /p/prj/containers/projector-clionĭocker pull /p/prj/containers/projector-datagripĭocker pull /p/prj/containers/projector-golandĭocker pull /p/prj/containers/projector-idea-cĭocker pull /p/prj/containers/projector-idea-uĭocker pull /p/prj/containers/projector-phpstormĭocker pull /p/prj/containers/projector-pycharm-cĭocker pull /p/prj/containers/projector-pycharm-pĭocker pull /p/prj/containers/projector-riderĭocker pull /p/prj/containers/projector-rubymineĭocker pull /p/prj/containers/projector-webstormĪfter that, you can run it via the following command (just replace IMAGE_NAME with the needed name, forĮxample, /p/prj/containers/projector-clion): docker run -rm -p 8887:8887 -it IMAGE_NAME | Issue tracker Run JetBrains IDE in Docker
Some scripts to create and run a Docker container with Projector and JetBrains IDE.