Skip to content

Run IntelliJ Idea Community 2018.2 inside a docker container

License

Notifications You must be signed in to change notification settings

rozidan/docker-intellij

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IntelliJ inside Docker

Run IntelliJ Idea Community 2018.2 inside a Docker container, together with OpenJDK 8.

Getting Started

These instructions will get you a copy of the project up and run on your local machine.

Prerequisites

  1. You must install X11 forwarding support ('xauth') on your local machine.
With CentOS
yum install xorg-x11-xauth
With Ubuntu
apt-get install xauth
  1. Follow the link System Watcher in order to override the default limit of inotify max user watches

Installing

By running the following command you'll be able to start the container

docker run -d \
           --net=host \
           --env=DISPLAY \
           --add-host=$HOSTNAME:127.0.0.1 \
           -v $HOME/.Xauthority:/root/.Xauthority:rw \
           -v $HOME/intellij-settings:/root/.IdeaIC2018.2:rw \
           -v $HOME/projects:/root/IdeaProjects:rw \
           -v $HOME/gradle-cache:/root/.gradle:rw \
           --name intellij \
           rozidan/docker-intellij:ideaIC-2018.2-jdk8-alpine

You can change this command accordingly by which location you wish to store IntelliJ settings.

About DPI Settings

Windows

In case of blurry fonts using MobaXterm, it is because of high DPI configuration within your OS. To avoid that, you should right-click the MobaXterm shortcut, go to properties -> compatibility -> change high DPI settings and check the "override high DPI scaling behavior".

License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.

About

Run IntelliJ Idea Community 2018.2 inside a docker container

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published