{"id":15134833,"url":"https://github.com/jetbrains/projector-docker","last_synced_at":"2025-09-29T04:31:11.548Z","repository":{"id":41265907,"uuid":"267750507","full_name":"JetBrains/projector-docker","owner":"JetBrains","description":"Run JetBrains IDEs remotely with Docker","archived":true,"fork":false,"pushed_at":"2022-07-15T12:49:19.000Z","size":111,"stargazers_count":2241,"open_issues_count":0,"forks_count":222,"subscribers_count":62,"default_branch":"master","last_synced_at":"2025-05-28T07:02:35.797Z","etag":null,"topics":["awt","docker","swing"],"latest_commit_sha":null,"homepage":"https://youtrack.jetbrains.com/issues/PRJ","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JetBrains.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-29T02:52:20.000Z","updated_at":"2025-05-27T01:27:11.000Z","dependencies_parsed_at":"2022-07-13T15:29:40.180Z","dependency_job_id":null,"html_url":"https://github.com/JetBrains/projector-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JetBrains/projector-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBrains%2Fprojector-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBrains%2Fprojector-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBrains%2Fprojector-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBrains%2Fprojector-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JetBrains","download_url":"https://codeload.github.com/JetBrains/projector-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBrains%2Fprojector-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277467470,"owners_count":25822915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-29T02:00:09.175Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["awt","docker","swing"],"created_at":"2024-09-26T05:40:15.659Z","updated_at":"2025-09-29T04:31:11.253Z","avatar_url":"https://github.com/JetBrains.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# projector-docker\n\n[![obsolete JetBrains project](https://jb.gg/badges/obsolete.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)\n\nSome scripts to create and run a Docker container with Projector and JetBrains IDE.\n\n## The state of the Projector\n\nThe development of JetBrains Projector as its own standalone product has been suspended. That said, Projector remains an important part of [JetBrains Gateway](https://www.jetbrains.com/remote-development/gateway/), which is the primary remote development tool for JetBrains IDEs. We will focus our efforts on improving and developing Projector in this limited scenario.\n\nOur goal is to provide a rich, full-featured remote development experience with a look and feel that is equal to or better than what you get when working with IDEs locally. The only way to get everything you’re used to having when working locally (low latency, low network traffic, user-defined and OS-specific shortcuts, themes, settings migrations, ssh-agent/port forwarding, and other things) is by installing a dedicated client-side application. The standalone version of Projector is not capable of meeting these goals.\n\nAs a result, we no longer recommend using the standalone version of JetBrains Projector or merely making tweaks to incorporate it into your existing IDE servers. We won’t provide user support or quick-fixes for issues that arise when these setups are used. If you have the option to switch from Projector to Gateway, we strongly recommend you do so.\n\n[Learn more about JetBrains Gateway](https://www.jetbrains.com/remote-development/gateway/)\n\n[Documentation](https://jetbrains.github.io/projector-client/mkdocs/latest/)\n| [Issue tracker](https://youtrack.jetbrains.com/issues/PRJ)\n\n## Run JetBrains IDE in Docker\n\nHow to run JetBrains IDE in Docker and access it via a web browser?\n\n### Step 1\nFirstly, pull an image with needed IDE. You can do it in two ways: \n\n#### The first one is to pull it from [DockerHub](https://hub.docker.com/orgs/jetbrains/repositories):\n\n```shell\ndocker pull jetbrains/projector-clion\ndocker pull jetbrains/projector-datagrip\ndocker pull jetbrains/projector-goland\ndocker pull jetbrains/projector-idea-c\ndocker pull jetbrains/projector-idea-u\ndocker pull jetbrains/projector-phpstorm\ndocker pull jetbrains/projector-pycharm-c\ndocker pull jetbrains/projector-pycharm-p\ndocker pull jetbrains/projector-rider\ndocker pull jetbrains/projector-rubymine\ndocker pull jetbrains/projector-webstorm\n```\nTags are distributed on DockerHub as follows:\n- `:latest` – this image contains the **latest up-to-date** version of the tested IDE with the latest **stable** version of the Projector;\n- `:develop` – this image contains the **latest up-to-date** version of the tested IDE with the **latest commit** of the Projector repository;\n- `:\u003cIDE_VERSION\u003e-develop` – this image contains the **selected** version of the IDE with the **latest commit** of the Projector repository;\n- `:\u003cIDE_VERSION\u003e-projector-\u003cPROJECTOR_VERSION\u003e` – this image contains the **selected** version of the IDE with the **selected stable** version of Projector.\n\n#### The second way is to pull it from Space:\n_On Space, only the latest tested IDE and the `develop` version of Projector are published._\n\n```shell\ndocker pull registry.jetbrains.team/p/prj/containers/projector-clion\ndocker pull registry.jetbrains.team/p/prj/containers/projector-datagrip\ndocker pull registry.jetbrains.team/p/prj/containers/projector-goland\ndocker pull registry.jetbrains.team/p/prj/containers/projector-idea-c\ndocker pull registry.jetbrains.team/p/prj/containers/projector-idea-u\ndocker pull registry.jetbrains.team/p/prj/containers/projector-phpstorm\ndocker pull registry.jetbrains.team/p/prj/containers/projector-pycharm-c\ndocker pull registry.jetbrains.team/p/prj/containers/projector-pycharm-p\ndocker pull registry.jetbrains.team/p/prj/containers/projector-rider\ndocker pull registry.jetbrains.team/p/prj/containers/projector-rubymine\ndocker pull registry.jetbrains.team/p/prj/containers/projector-webstorm\n```\n\n### Step 2\n\nAfter that, you can run it via the following command (just replace `IMAGE_NAME` with the needed name, for\nexample, `jetbrains/projector-clion`):\n\n```shell\ndocker run --rm -p 8887:8887 -it IMAGE_NAME\n```\n\nThis will run **Projector Server with the selected JetBrains IDE** locally.\n\nTo access Projector Server with IDE, use \u003chttp://localhost:8887/\u003e.\n\nIf you want to **save the state of the container between launches**, go further: take a look\nat [`run-container-mounted.sh`](#run-container-mountedsh-containername) script.\n\n## Run IntelliJ IDEA in Docker (building image yourself)\n\nIf you don't want to pull an image, you can build it yourself. Scripts in this repo will help you to do it.\n\nFirstly, please check your **Docker version**: since we\nuse [Docker BuildKit](https://docs.docker.com/develop/develop-images/build_enhancements/) in our scripts, a current\nversion of Docker (18.09 or higher) is required.\n\nClone this `projector-docker` repo and make the following actions:\n\n```shell script\n./clone-projector-core.sh\n./build-container.sh\n./run-container.sh\n```\n\nThis will run **Projector Server with IntelliJ IDEA Community** locally.\n\nTo access Projector Server with IDE, use \u003chttp://localhost:8887/\u003e.\n\nThere will be a sample Kotlin + Java project opened, just close some dialogs. If you want to try **your project**, you can clone it via Git.\n\nIf you **don't want to clone the project every time** you start the container, go further: use [`run-container-mounted.sh`](#run-container-mountedsh-containername).\n\n## Accessing IDE run on another machine\n\nIf you want to access IDE run on another host, you need to change page parameters. Here are the default parameters, so you probably need to change `localhost` in both places to needed IP: \u003chttp://localhost:8887/?host=localhost\u0026port=8887\u003e.\n\n## Script list\n### `clone-projector-core.sh`\nClones projector projects from Git to proper locations:\n- `../projector-server`.\n\n**Note**: if you already have these projects locally existing, you can place them to proper locations and avoid this script.\n\n### `build-container.sh [containerName [ideDownloadUrl]]`\nCompiles Projector inside Docker and builds a Docker container locally.\n\n### `build-container-dev.sh [containerName [ideDownloadUrl]]`\nCompiles Projector outside Docker and builds a Docker container locally. The script assumes the JAVA_HOME is set to a JDK 11.\n\n### `create-image.sh [containerName [tarGzFileName]]`\nCreates a Docker image from a built container and saves it as a `tar.gz` archive.\n\n### `load-image.sh [tarGzFileName]`\nLoads the Docker image locally.\n\n### `run-container.sh [containerName]`\nRuns the Docker container.\n\nStarts the Projector server and hosts web client files on port 8887.\n\n### `run-container-mounted.sh [containerName]`\nRuns the Docker container. Also, it mounts your `~/projector-docker` dir as the home dir in the container, so settings and projects can be saved between launches.\n\nFeel free to change `~/projector-docker` dir to your desired one. **Please note that the host dir should be created manually** to eliminate permissions problems.\n\n**For Mac and Windows hosts**: to speed up work with mounted dirs, you can try adding the `:cached` suffix. It will look like this: `-v ~/projector-docker:/home/projector-user:cached`.\n\nStarts the Projector server and hosts web client files on port 8887.\n\n## Tested IDEs\nWhen you build a container, there is an optional `ideDownloadUrl` parameter, so you can select different IDEs to use. Most JetBrains IDEs of versions 2019.1-2020.2 will work. Tested with:\n- https://download.jetbrains.com/idea/ideaIC-2019.3.4.tar.gz\n- https://download.jetbrains.com/idea/ideaIC-2020.1.1.tar.gz\n- https://download.jetbrains.com/idea/ideaIC-202.5103.13.tar.gz\n- https://download.jetbrains.com/idea/ideaIU-2019.3.4.tar.gz\n- https://download.jetbrains.com/cpp/CLion-2019.3.5.tar.gz\n- https://download.jetbrains.com/go/goland-2019.3.4.tar.gz\n- https://download.jetbrains.com/datagrip/datagrip-2019.3.4.tar.gz\n- https://download.jetbrains.com/webide/PhpStorm-2019.3.4.tar.gz\n- https://download.jetbrains.com/python/pycharm-community-2019.3.4.tar.gz\n- https://download.jetbrains.com/python/pycharm-professional-2019.3.4.tar.gz\n- https://download.jetbrains.com/webstorm/WebStorm-2020.2.2.tar.gz\n- https://download.jetbrains.com/rider/JetBrains.Rider-2020.2.4.tar.gz\n\nYou can find the up-to-date list of tested IDEs\nhere: [compatible_ide.json](https://github.com/JetBrains/projector-installer/blob/master/projector_installer/compatible_ide.json)\n.\n\nIf you want to try other distribution, click \"Other versions\" on\nan [IDE download page](https://www.jetbrains.com/idea/download/) and copy a link to a `tar.gz` file. Please ensure that\nyou select `tar.gz` **with JBR**, not without.\n\n## FAQ\n\n**Q**: The set of available packages in the container doesn't suit me, what to do?  \n**A**: You can add the required packages to the [Dockerfile](Dockerfile) (for example, where `packages for user convenience` are installed) and build your own image. If you believe the packages are handy for most users and don't take much space, feel free to create a PR to this repo adding a package. Please note that we consider these buildscripts as samples, there is no goal to cover all the possible needs in them, but there is a goal to show how to create an image with Projector inside.\n\n**Q**: Can I somehow **secure** my **connection**?  \n**A**: Yes, it's described in [documentation](https://jetbrains.github.io/projector-client/mkdocs/latest/ij_user_guide/server_customization/#making-the-connection-secure). You can place the file to a mounted dir.\n\n**Q**: Can I assign a **connection password**?  \n**A**: Yes, it's described in [documentation](https://jetbrains.github.io/projector-client/mkdocs/latest/ij_user_guide/server_customization/#assigning-connection-password).\n\n**Q**: I’ve mounted the home dir in **Docker** container and it seems that I **can’t edit files**, there are exceptions about permissions and missing files. What to do?  \n**A**: It can happen when the owner of the directory on the host is root. So you should recreate the directory on the host yourself with normal user permissions.\n\n## License\n[Apache 2.0](LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetbrains%2Fprojector-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjetbrains%2Fprojector-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetbrains%2Fprojector-docker/lists"}