This is the docker implementation of fuseki server. Developer needs to do the following before using it
- Install docker
- Install boot2docker
- Build the docker container
- Run it for the first time and populate the controlled vocabulary.
- Commit the changes to the container after adding the triples with a tag
- Use the tagged container
- Document the details
Instantiate the boot2docker
boot2loader init
Open ports on the docker container
./setupport.sh
Start the boot2docker
boot2loader up
Setup the docker host
export DOCKER_HOST=tcp://192.168.59.104:2375
Go to the folder containing Dockerfile and build docker container
docker build -t mlk0007/centos-fuseki .
To run the docker image with access to the bash prompt
docker run -t -i -p 3030:3030 mlk0007/centos-fuseki /bin/bash
bash-4.1#
Previous command will start a bash prompt within the docker container
bash-4.1#
#exit to stop
Run the docker image
docker run -d -p 3030:3030 mlk0007/centos-fuseki
Tag the container
docker commit 5f770ee0c4a1 mlk0007/centos-fuseki:loaded
Run the tagged version of the docker image
docker run -d -p 3030:3030 mlk0007/centos-fuseki:loaded
List all docker images
docker images
List all running docker images
docker ps
Stop a running docker image
docker stop CONTAINERID
Remove a docker image
docker rmi -f IMAGEID
1.0
** Enjoy docker **