Hello!

You guys are great, Neo4j is great :)

I have an AWS EFS (Elastic File System) volume set up and mounted on an EC2 
node. The EFS directory root is mounted to my host machine (the EC2 server 
where I'll be running my docker service containers) at /data ...

...I'd like to configure the Neo4j Docker Image to use that volume for its 
data. That is, specifically, put the Neo4j data into a folder within that 
volume called "ckdb". The lines I know i need to edit are below and I want 
to verify I've modified it appropriately.

RUN mv data /data/ckdb \
    && ln --symbolic /data/ckdb

VOLUME /data/ckdb

I know this can be confusing since I've called my EFS volume "data". The 
file was originally setup (on github) as follows:

RUN mv data /data \
    && ln --symbolic /data

VOLUME /data

My builds are currently failing with the following error: 

*ERROR: Build failed: The command '/bin/sh -c mv data /data/ckdb && ln 
--symbolic /data/ckdb' returned a non-zero code: 1*

I have verified I can reach the mounted volume on my host, and the ckdb 
directory exists. My whole dockerfile is attached. Thanks!

-Spencer

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: Dockerfile
Description: Binary data

Reply via email to