-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
It looks like no data is saved to /data
but instead everything is written in /var/lib/jetty/bigdata.jnl
.
I tried to mount ./data/blazegraph:/var/lib/jetty
instead but it fails as it turns /var/lib/jetty
in an empty directory.
What did work was to mount the sole bigdata.jnl
after having created it (to avoid letting docker create it as a directory) and set the file uid
and gid
to jetty
user and group in the container, that is 100
.
mkdir -p ./data/blazegraph
touch ./data/blazegraph/bigdata.jnl
sudo chown 100:100 ./data/blazegraph/bigdata.jnl
then --volume ./data/blazegraph/bigdata.jnl:/var/lib/jetty/bigdata.jnl
successfully persist the data
grenik
Metadata
Metadata
Assignees
Labels
No labels