https://github.com/peter-mount/netbeans
Netbeans IDE in a docker container
https://github.com/peter-mount/netbeans
Last synced: 5 months ago
JSON representation
Netbeans IDE in a docker container
- Host: GitHub
- URL: https://github.com/peter-mount/netbeans
- Owner: peter-mount
- Created: 2016-07-27T21:15:27.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-27T21:36:30.000Z (almost 10 years ago)
- Last Synced: 2024-12-06T21:38:30.070Z (over 1 year ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 user@linux.box
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.