Skip to content

Lumunix/IntelliJ-IDEA-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntelliJ-IDEA-Docker

Project-Banner

About

IntelliJ IDEA IDE Community Edition IDE in a docker container. Provides a full Java IDE in a docker container with Open JDK.

Usage

Windows:

  1. Install Docker/Compose. You must have Docker and Compose installed to run your Jekyll project in Docker.

  2. Install GWSL. GWSL handles running XServer on top of WSL. (Graphical Windows Subsystem for Linux)

  3. Using GWSL, navigate to the folder you downloaded the project to, build the docker image.

docker build -t lumunix/intellij-idea-docker .
  1. Using GWSL, navigate to the /windows folder, run docker compose to start Intellij
docker-compose up

macOs:

  1. Install Docker/Compose. You must have Docker and Compose installed to run your Jekyll project in Docker.

  2. Install Homebrew using Terminal

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Using Terminal, install Socat with homebrew
brew install socat
  1. Using Terminal install xquartz with homebrew
brew install xquartz
  1. Open Xquartz, in the Preferences of the xQuartz app in the Security tab, check allow connections from network clients
open -a Xquartz

x11 Zquartz Preferences

  1. Using Terminal, navigate to the folder you downloaded the project to, build the docker image.
docker build -t lumunix/intellij-idea-docker .
  1. Run Socat
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
  1. Using Terminal, navigate to the [Repo Directory]/macOs folder, run this command, you will get a inet ip address, add the IP address to the .env file as follows.
ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d\  -f2
XSERVEIP=<YOUR IP FROM IFCONFIG>
  1. Using Terminal, navigate to the [Repo Directory]/macOs folder, run docker compose to start Intellij
docker-compose up