Public Repository

Last pushed: 5 months ago
Short Description
Ubuntu image with netbeans, spring-boot, Node, npm and AngularCLI.
Full Description
  • Latest Ubuntu docker image with Netbeans.
  • Run:
    docker run -d -e DISPLAY=$(ifconfig vboxnet0 | grep 'inet' | cut -d' ' -f2):0 -it bhntools/docker-netbeans:latest
  • For further informations please take a look here :
    https://github.com/NajlaBH/ProJavas/tree/master/docker-netbeans

  • If you are in mac OS X, please follow the steps below:

    -STEP 1

    open -a XQuartz
    

    ALLOW ALL CONNECTION FROM SECURITY PREFERENCES

-STEP 2

  • Check AND Set xhost/IP
ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
xhost + $ip
xinit
  • Get IP machine
docker-machine ip dockerMachineName
  • Alternative if inet don't work
    DISPLAY=:0
    echo $DISPLAY
    ip=IP_DOCKER_MACHINE
    xhost + $ip
    xinit
    

-STEP 3

  • In the new Quartz window, check your machine :
docker-machine ls
docker-machine start/restart machineName
docker-machine env
eval $(docker-machine env)

-STEP 4

docker pull bhntools/docker-netbeans:latest
Docker Pull Command
Owner
bhntools