Skip to content

Dockerfile for creating an image with X, VNC, Java and Intellij

Notifications You must be signed in to change notification settings

dh1337/docker-vnc-intellij

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

VNC IntelliJ

Builds a Docker image with X, VNC and IntelliJ set up

Prerequisites

To run this image, you'll need to install Docker (instructions for Ubuntu).

Running the image (first time)

To run the image, use the following command (this will download the image if it doesn't exist):

$ docker run --name vnc-intellij -v /home/myuser/code:/src -p 5901:5901 pandeiro/vnc-intellij:latest

This assumes that there is some code in /home/myuser/code that you will want to view in IntelliJ, where it will be available in the container's /src directory.

Connecting to the Server

Once you have the container running, you can connect to it using a VNC client:

$ vinagre <serverip>:5901

It will prompt for a password, which is set by default to 'password'. (You can change it by following the instructions here.)

The IntelliJ application is accessible in the 'Other' folder from the LXDE start menu in the bottom left corner of the desktop.

Using the container subsequent times

You can keep the container server running and simply disconnect your VNC client to maintain state, or you can also terminate the container process:

$ docker stop vnc-intellij

Then, if you wish to use it again:

$ docker start vnc-intellij

About

Dockerfile for creating an image with X, VNC, Java and Intellij

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%