Public Repository

Last pushed: 7 months ago
Short Description
Netbeans 8.2 + Glassfish 4.1 + Tomcat 8 + Firefox based on fedora image
Full Description

Java Develop Machine

Create a conatainer

docker run -ti -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --name netbeans hectormao/netbeans /usr/bin/netbeans

Launch a container

docker exec -ti netbeans /usr/bin/netbeans

I used the following shell, if the container is not running then start

ACTIVO=$(docker ps -f "name=netbeans" -f "status=running" -q | wc -l)

if [ $ACTIVO -eq 0 ]
then
docker start netbeans
fi
docker exec -ti netbeans /usr/bin/netbeans

Docker Pull Command
Owner
hectormao

Comments (0)