-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
netbeans(){
ACTIVE_MACHINE=$(docker-machine active)
X11HOST="$(docker-machine inspect $ACTIVE_MACHINE \
| grep HostOnlyCIDR \
| awk '{print $2}' \
| sed 's/"//g' \
| cut -f1 -d"/")"
docker run -d -it \
-e DISPLAY=$X11HOST:0.0 \
-e "TZ=America/Chicago" \
-v $HOME/Workspace/.netbeans:/root/.netbeans \
-v $HOME/Workspace/.m2:/root/.m2 \
-v $HOME/Workspace/github/<your repo name>:/root/repo \
--name netbeans \
psharkey/netbeans
}should read
netbeans(){
ACTIVE_MACHINE=$(docker-machine active)
X11HOST="$(docker-machine inspect $ACTIVE_MACHINE \
| grep HostOnlyCIDR \
| awk '{print $2}' \
| sed 's/"//g' \
| cut -f1 -d"/")"
docker run -d -it \
-e DISPLAY=$X11HOST:0.0 \
-e "TZ=America/Chicago" \
-v $HOME/Workspace/.netbeans:/root/.netbeans \
-v $HOME/Workspace/.m2:/root/.m2 \
-v $HOME/Workspace/github/<your repo name>:/root/repo \
--name netbeans \
psharkey/netbeans-8.1
}Metadata
Metadata
Assignees
Labels
No labels