It's one I wrote myself, using java:7 as the base image and downloading the .tar.gz package of Neo4j. This[1] is the 2.1 Dockerfile that works with a shared volume; this[2] is the 2.2 Dockerfile that doesn't.
[1] https://github.com/thetallgrassnet/neo4j/blob/master/2.1/Dockerfile [2] https://github.com/thetallgrassnet/neo4j/blob/master/2.2/Dockerfile (Side note: the problem with the one that seems to be the most popular (tpires) is that it's not tagged for specific versions of Neo4j. Writing these images was partially an experiment in making version-tagged images, which also happened to fit a need I had for a website I'm building, but it may end up being easier to go back to the tpires image.) On Saturday, April 18, 2015 at 4:40:38 AM UTC-7, Michael Hunger wrote: > > Which docker image did you use? > > Am 18.04.2015 um 07:44 schrieb Jesse Hannah <[email protected] > <javascript:>>: > > I had been running Neo4j 2.1.7 in a Docker container (through latest > boot2docker, in latest VirtualBox, on latest Mac OS X), with the > data/graph.db directory mapped to a directory on the host machine, without > any trouble. However, with 2.2.x version I've tried (from 2.2.0-M02 to > 2.2.1) with the same configuration has failed to start, with the following > error in data/graph.db/messages.log: > > 2015-04-18 05:11:00.989+0000 ERROR [o.n.s.r.RrdFactory]: Unable to create > new rrd store > java.io.IOException: Invalid argument > at sun.nio.ch.FileChannelImpl.map0(Native Method) ~[na:1.8.0_40-internal] > at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:893) > ~[na:1.8.0_40-internal] > at org.rrd4j.core.RrdNioBackend.mapFile(RrdNioBackend.java:63) > ~[rrd4j-2.2.jar:na] > at org.rrd4j.core.RrdNioBackend.setLength(RrdNioBackend.java:86) > ~[rrd4j-2.2.jar:na] > at org.rrd4j.core.RrdDb.<init>(RrdDb.java:148) ~[rrd4j-2.2.jar:na] > at org.rrd4j.core.RrdDb.<init>(RrdDb.java:101) ~[rrd4j-2.2.jar:na] > at org.neo4j.server.rrd.RrdFactory.createRrdb(RrdFactory.java:200) > [neo4j-server-2.2.1.jar:2.2.1] > at > org.neo4j.server.rrd.RrdFactory.createRrdDbAndSampler(RrdFactory.java:95) > [neo4j-server-2.2.1.jar:2.2.1] > at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:214) > [neo4j-server-2.2.1.jar:2.2.1] > at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:117) > [neo4j-server-2.2.1.jar:2.2.1] > at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:69) > [neo4j-server-2.2.1.jar:2.2.1] > > I've found a StackOverflow question[1] about this same error (except with > version 1.9), which points to a VirtualBox bug report, but that I can tell > from those threads, the error should have been occurring with version 2.1.7 > as well, if it were a bug in VirtualBox and not in Neo4j. The problem does > not occur in a Docker container from the same image without mapping > data/graph.db to a shared volume. Has anyone else encountered this error, > and/or would anyone with more knowledge of the changes made from 2.1.7 to > 2.2.0 know what might cause this to be happening now? > > –jbh > > — > Jesse B. Hannah > https://jbhannah.net > > [1] > http://stackoverflow.com/questions/18370043/neo4j-server-in-virtualbox-unable-to-create-rrd-store > > -- > 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] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- 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.
