{"id":20178871,"url":"https://github.com/drsnowbird/intellij-docker","last_synced_at":"2025-04-10T04:45:08.328Z","repository":{"id":90087429,"uuid":"107218061","full_name":"DrSnowbird/intellij-docker","owner":"DrSnowbird","description":"Intellij Community edition Docker","archived":false,"fork":false,"pushed_at":"2021-06-20T01:16:04.000Z","size":242,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T06:02:39.730Z","etag":null,"topics":["docker","ide","intellij","java","scala"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"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/DrSnowbird.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-17T04:30:12.000Z","updated_at":"2022-04-16T19:26:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"70493cf3-c377-44eb-b483-d0206ab9b7d2","html_url":"https://github.com/DrSnowbird/intellij-docker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSnowbird%2Fintellij-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSnowbird%2Fintellij-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSnowbird%2Fintellij-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSnowbird%2Fintellij-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrSnowbird","download_url":"https://codeload.github.com/DrSnowbird/intellij-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161237,"owners_count":21057552,"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","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":["docker","ide","intellij","java","scala"],"created_at":"2024-11-14T02:23:51.161Z","updated_at":"2025-04-10T04:45:08.319Z","avatar_url":"https://github.com/DrSnowbird.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Intellij IDE in a Docker container\n\n[![](https://images.microbadger.com/badges/image/openkbs/intellij-docker.svg)](https://microbadger.com/images/openkbs/intellij-docker \"Get your own image badge on microbadger.com\") [![](https://images.microbadger.com/badges/version/openkbs/intellij-docker.svg)](https://microbadger.com/images/openkbs/intellij-docker \"Get your own version badge on microbadger.com\")\n* INTELLIJ VERSION=IdeaIC2020\n\n# Requirements\n* Docker 1.13.1+ or latest 17.12.1-ce \n* An X11 server socket enabled (e.g. xhost+)\n\n# Run (Recommended for easy startup)\n```\n./run.sh\n```\n## Guide: Install Scala\nDuring starting up Intellij first time, one of the options will allow you to install \"Scala\". \nRemember to install that. If not, you still can add inside the Intellij IDE later.\n```\nfirefox ./guide/Intellij-guide-install-Scala-option.png\n```\n\n# Stop\n```\n./stop.sh\n```\n\n# Build (Optional)\n```\n./build.sh\n```\n\n# Configure - (Optional) Making plugins persist between sessions\nIf you use \"./run.sh\", you can ignore this section!\nIntellij configurations are kept on `$HOME/.ideaIC-2018.1` inside the container, so if you\nwant to keep them around after you close it, you'll need to share it with your\nhost.\n\nFor example: (Version might be different - use run.sh instead)\n\n```sh\ndocker run -ti --rm \\\n           -e DISPLAY=$DISPLAY \\\n           -v /tmp/.X11-unix:/tmp/.X11-unix \\\n           -v $HOME/.ideaIC-2018.1:/home/developer/.ideaIC-2018.1 \\\n           -v `pwd`:/home/developer/workspace \\\n           openkbs/intellij-docker\n```\n# See Also - Docker-based IDE\n* [openkbs/docker-atom-editor](https://hub.docker.com/r/openkbs/docker-atom-editor/)\n* [openkbs/eclipse-photon-docker](https://hub.docker.com/r/openkbs/eclipse-photon-docker/)\n* [openkbs/eclipse-oxygen-docker](https://hub.docker.com/r/openkbs/eclipse-oxygen-docker/)\n* [openkbs/intellj-docker](https://hub.docker.com/r/openkbs/intellij-docker/)\n* [openkbs/netbeans9-docker](https://hub.docker.com/r/openkbs/netbeans9-docker/)\n* [openkbs/netbeans](https://hub.docker.com/r/openkbs/netbeans/)\n* [openkbs/papyrus-sysml-docker](https://hub.docker.com/r/openkbs/papyrus-sysml-docker/)\n* [openkbs/pycharm-docker](https://hub.docker.com/r/openkbs/pycharm-docker/)\n* [openkbs/scala-ide-docker](https://hub.docker.com/r/openkbs/scala-ide-docker/)\n* [openkbs/sublime-docker](https://hub.docker.com/r/openkbs/sublime-docker/)\n* [openkbs/webstorm-docker](https://hub.docker.com/r/openkbs/webstorm-docker/)\n\n# See Also - Docker-based SQL GUI\n* [Mysql-Workbench at openkbs/mysql-workbench](https://hub.docker.com/r/openkbs/mysql-workbench/)\n* [PgAdmin4 for PostgreSQL at openkbs/pgadmin-docker](https://hub.docker.com/r/openkbs/pgadmin-docker/)\n* [Sqlectron SQL GUI at openkbs/sqlectron-docker](https://hub.docker.com/r/openkbs/sqlectron-docker/)\n\n# Reference\n* https://download.jetbrains.com/idea\n* https://www.jetbrains.com/idea/\n\n# Display X11 Issue\nMore resource in X11 display of Eclipse on your host machine's OS, please see\n* [X11 Display problem](https://askubuntu.com/questions/871092/failed-to-connect-to-mir-failed-to-connect-to-server-socket-no-such-file-or-di)\n* [X11 Display with Xhost](http://www.ethicalhackx.com/fix-gtk-warning-cannot-open-display/)\n\n# Other possible Issues\nYou might see the warning message in the launching xterm console like below, you can just ignore it. I googles around and some blogs just suggested to ignore since the IDE still functional ok.\n```\n** (eclipse:1): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-wrKH8o5rny: Connection refused\n** (java:7): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-wrKH8o5rny: Connection refused\n```\n# Releases information\n```\ndeveloper@c0b04e63083f:~$ /usr/scripts/printVersions.sh \n+ echo JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64\nJAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64\n+ whereis java\njava: /usr/bin/java /usr/share/java /usr/lib/jvm/java-8-openjdk-amd64/bin/java /usr/share/man/man1/java.1.gz\n+ echo\n\n+ java -version\nopenjdk version \"1.8.0_265\"\nOpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2~18.04-b01)\nOpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)\n+ mvn --version\nApache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)\nMaven home: /usr/apache-maven-3.6.3\nJava version: 1.8.0_265, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre\nDefault locale: en, platform encoding: UTF-8\nOS name: \"linux\", version: \"5.4.0-42-generic\", arch: \"amd64\", family: \"unix\"\n+ python -V\nPython 2.7.17\n+ python3 -V\nPython 3.6.9\n+ pip --version\npip 20.2.2 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)\n+ pip3 --version\npip 20.2.2 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)\n+ gradle --version\n\nWelcome to Gradle 6.0.1!\n\nHere are the highlights of this release:\n - Substantial improvements in dependency management, including\n   - Publishing Gradle Module Metadata in addition to pom.xml\n   - Advanced control of transitive versions\n   - Support for optional features and dependencies\n   - Rules to tweak published metadata\n - Support for Java 13\n - Faster incremental Java and Groovy compilation\n - New Zinc compiler for Scala\n - VS2019 support\n - Support for Gradle Enterprise plugin 3.0\n\nFor more details see https://docs.gradle.org/6.0.1/release-notes.html\n\n\n------------------------------------------------------------\nGradle 6.0.1\n------------------------------------------------------------\n\nBuild time:   2019-11-18 20:25:01 UTC\nRevision:     fad121066a68c4701acd362daf4287a7c309a0f5\n\nKotlin:       1.3.50\nGroovy:       2.5.8\nAnt:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019\nJVM:          1.8.0_265 (Private Build 25.265-b01)\nOS:           Linux 5.4.0-42-generic amd64\n\n+ npm -v\n6.14.7\n+ node -v\nv14.8.0\n+ cat /etc/lsb-release /etc/os-release\nDISTRIB_ID=Ubuntu\nDISTRIB_RELEASE=18.04\nDISTRIB_CODENAME=bionic\nDISTRIB_DESCRIPTION=\"Ubuntu 18.04.5 LTS\"\nNAME=\"Ubuntu\"\nVERSION=\"18.04.5 LTS (Bionic Beaver)\"\nID=ubuntu\nID_LIKE=debian\nPRETTY_NAME=\"Ubuntu 18.04.5 LTS\"\nVERSION_ID=\"18.04\"\nHOME_URL=\"https://www.ubuntu.com/\"\nSUPPORT_URL=\"https://help.ubuntu.com/\"\nBUG_REPORT_URL=\"https://bugs.launchpad.net/ubuntu/\"\nPRIVACY_POLICY_URL=\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\"\nVERSION_CODENAME=bionic\nUBUNTU_CODENAME=bionic\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrsnowbird%2Fintellij-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrsnowbird%2Fintellij-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrsnowbird%2Fintellij-docker/lists"}