I'm trying to load an existing graph.db folder into a neo4j 3.5.6 docker image but it fails because of permission errors.
When I run the docker image without any data it works perfect and generates an empty database. However when I put the folder for graph.db into this folder it will complain about not being able to obtain store.lock. I also tried to import it after starting the empty database but this will crash the docker with the permission denied error.
I also tried to change ownership of the folder to neo4j user or system user but nothing so far works.
Here is my general code for it:
docker run --detach --name=neo4j-35-tmp --rm
--publish=7475:7474 --publish=7476:7473 --publish=7688:7687
rm -rf $HOME/Documents/neo4j-multi-image/3.5/data/databases/graph.db
mv -f graph.db $HOME/Documents/neo4j-multi-image/3.5/data/databases
Does anyone know what I'm doing wrong / how I can achieve this?