HUB
Sign inSign up
netbeans logo

area51/netbeans

By area51

•Updated over 8 years ago

Netbeans IDE within a Docker container with the current JDK

Image
0

771

area51/netbeans repository overview

⁠Netbeans IDE inside Docker

This is my initial attempt in getting Netbeans IDE 8.1 running within a docker container.

⁠To use:

docker run -it --rm
-e DISPLAY
--net=host
-v /tmp/.X11-unix:/tmp/.X11-unix
-v $HOME/.Xauthority:/home/user/.Xauthority
area51/netbeans

You can also mount /home/user as an additional mount if you want to persist settings between sessions. With the IDE this is the best thing to do so you can persist both projects and IDE updates.

Also, you can also run it in the background by replacing -it --rm with -d if you so wish.

⁠Running on OSX

I've only tested this with running the image on a remote Linux server but presuming you have X11 installed on the mac:

ssh -Y [email protected]⁠

Then run the docker command above.

Note: The only issues so far on OSX are:

  • if you run on multiple screens, the IDE opens across all of them but the ide appears on just one of them.
  • If you maximise the window the menus don't work correctly.
Tag summary
Recent tags
Content type
Image
Digest
Size
385.4 MB
Last updated
over 8 years ago
docker pull area51/netbeans:latest