This project builds a docker container for running JBoss Data Virtualization 6.1.0.GA.
- Install Docker
- Download JBoss Data Virtualization from jboss.org.
- Put the downloaded file: jboss-dv-installer-6.1.0.redhat-3.jar into dv-docker/software
Once you have installed docker and downloaded the JBoss Data Virtualization software, you should be able to create the JBoss Data Virtualization container via the following command:
If you are on OS X then see How to use Docker on OS X.
$ docker build -t jbossdv610 .
The JBoss Data Virtualization container then build.
If you have docker installed you should be able to try it out via:
$ cd dv-docker
$ docker run -P -d -t jbossdv610
This will run the jbossdv610 container and starts automatically JBoss Data Virtualization, PostgreSQL, MySQL and MongoDB. You can then run docker attach $containerID or docker logs -f $containerID to get the logs at any time.
Run docker ps to see all the running containers or docker inspect $containerID to view the IP address and details of a container.
To spin up a shell in the JBoss Data Virtualization containers try:
$ docker run -P -i -t jbossdv610 /bin/bash
You can then noodle around the container and run stuff & look at files etc.
The /home/jboss/run.sh sript can be used to start the databases MongoDB, MySQL, PostgreSQL and JBoss Data Virtualization 6.1.0.GA.