text
|
- Choose Docker Image:
- We’ve put together three Docker Images to choose from (https://hub.docker.com/u/openlink/). The Enterprise Edition images require a version-matched license file, while the Open Source (“VOS”) image does not.
The remainder of this article focuses on Enterprise Edition 8.3; most content applies to all three, with minor adjustments.
- Download Docker Image:
- Creating a Sample Virtuoso Docker Instance:
Licensing:
Passwords:
Persistent Storage:
- To retain changes to the Virtuoso database, the database documents should be stored on the host file system.
- The docker image exposes a /database volume that can be mapped to a local directory on the filesystem. If this directory is empty, the docker image will put an initial virtuoso.ini into the mapped directory and then create a new database.
Stopping the Image:
- When the docker image is running in foreground mode, shut down Virtuoso by pressing the CTRL and C buttons in that terminal session. Alternatively, use the following command in a different terminal:
$ docker stop my_virtdb
Restarting the Image:
Checking the Startup Log:
- If the docker image is started in background mode, look at the recent output of the virtuoso process by running:
$ docker logs my_virtdb
Using isql to Connect:
Using an Existing Database:
- If the mapped directory contains a virtuoso.ini and accompanying database documents, the new docker image will attempt to use these.
- NOTE: Directory paths in the virtuoso.ini should be relative to the internal directory structure of the docker image to function correctly.
- Choose Docker Image:
- We’ve put together three Docker Images to choose from (https://hub.docker.com/u/openlink/). The Enterprise Edition images require a version-matched license file, while the Open Source (“VOS”) image does not.
The remainder of this article focuses on Enterprise Edition 8.3; most content applies to all three, with minor adjustments.
- Download Docker Image:
- Creating a Sample Virtuoso Docker Instance:
Licensing:
Passwords:
Persistent Storage:
- To retain changes to the Virtuoso database, the database documents should be stored on the host file system.
- The docker image exposes a /database volume that can be mapped to a local directory on the filesystem. If this directory is empty, the docker image will put an initial virtuoso.ini into the mapped directory and then create a new database.
Stopping the Image:
- When the docker image is running in foreground mode, shut down Virtuoso by pressing the CTRL and C buttons in that terminal session. Alternatively, use the following command in a different terminal:
$ docker stop my_virtdb
Restarting the Image:
Checking the Startup Log:
- If the docker image is started in background mode, look at the recent output of the virtuoso process by running:
$ docker logs my_virtdb
Using isql to Connect:
Using an Existing Database:
- If the mapped directory contains a virtuoso.ini and accompanying database documents, the new docker image will attempt to use these.
- NOTE: Directory paths in the virtuoso.ini should be relative to the internal directory structure of the docker image to function correctly.
|