A Dockerized Virtuoso.
$ docker build -t virtuoso:6.1.8 .
To persiste the data on the host's filesystem, create the folder (eg: /virtuoso-data
), copy the virtuoso.ini
in it and run the contaner:
$ docker run -d -p 8891:8890 -p 1112:1111 --name virtuoso_681 -v /virtuoso-data:/home/virtuoso/virtuoso/var/lib/virtuoso/db -v /tmp:/tmp virtuoso:6.1.8
$ docker inspect --format '{{ .NetworkSettings.IPAddress }}' virtuoso_681
$ isql -H <virtuoso-container-ip> exec='set password dba abetterpassword;'
$ isql -P abetterpassword -H <virtuoso-container-ip> exec='grant SPARQL_UPDATE to "SPARQL";'