Giter VIP home page Giter VIP logo

docker-neo4j's People

Contributors

kbastani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-neo4j's Issues

Server starts then immediately stops and exits

$ docker run -d -p 7474:7474 -v /Users/anentropic/Documents/Dev/proj/data:/opt/data --name neo4j kbastani/docker-neo4j
be4c2e97421c977889b64448da3a3001e3364879b15be07f36229a8547674626

$ docker ps
CONTAINER ID        IMAGE                   COMMAND                CREATED             STATUS              PORTS                              NAMES
be4c2e97421c        kbastani/docker-neo4j   "/etc/bootstrap.sh -   3 seconds ago       Up 3 seconds        1337/tcp, 0.0.0.0:7474->7474/tcp   neo4j

$ docker exec -it neo4j bash
Error response from daemon: Container neo4j is not running

$ docker logs neo4j
Starting Neo4j Server console-mode...
Using additional JVM arguments:  -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:-OmitStackTraceInFastThrow -XX:hashCode=5 -Dneo4j.ext.udc.source=debian
2015-07-06 21:03:37.793+0000 INFO  [API] Setting startup timeout to: 120000ms based on 120000
2015-07-06 21:03:40.265+0000 INFO  [API] Successfully started database
2015-07-06 21:03:40.402+0000 INFO  [API] Successfully shutdown Neo4j Server.
2015-07-06 21:03:40.512+0000 INFO  [API] Successfully stopped database

any ideas?

docker container fails to mount

Hi, I did submit below to main docker github for evaluation, maybe it has to do with OS/docker combination, appreciate your feedback and guide

environment

[amilkowski@localhost ~]$ uname -a
Linux localhost.localdomain 3.10.0-229.1.2.el7.x86_64 #1 SMP Thu Mar 26 09:10:25 CDT 2015 x86_64 x86_64 x86_64 GNU/Linux
[amilkowski@localhost ~]$ docker -v
Docker version 1.5.0-dev, build fc0329b/1.5.0

running:

Scientific Linux release 7.1 (Nitrogen)
cpe:/o:redhat:enterprise_linux:7.1:ga

which really is Centos 7

trying to do neo4j docker from https://github.com/kbastani/docker-neo4j

docker pull kbastani/docker-neo4j
docker run -d -p 7474:7474 -v /home/amilkowski/data:/opt/data --name graphdb kbastani/docker-neo4j
container exists..

[amilkowski@localhost ~]$ sudo docker run -d -p 7474:7474 -v /home/amilkowski/data:/opt/data --name graphdb kbastani/docker-neo4j
2b2d38d3cfa1519f17fe896f37e6f66a743895f5ddabf099bba1ac3eff16ed8d
[amilkowski@localhost ~]$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2b2d38d3cfa1 kbastani/docker-neo4j:latest "/etc/bootstrap.sh - 3 seconds ago Exited (0) Less than a second ago graphdb

[amilkowski@localhost ~]$

IF I remove host to container mount override container runs (-v /home/amilkowski/data:/opt/data) below

so it does look like the feature of docker "mounting volumes from host" might be broken.. (ref. http://docs.docker.com/userguide/dockervolumes/)

[amilkowski@localhost ~]$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
26e3d3bcd81d kbastani/docker-neo4j:latest "/etc/bootstrap.sh - 4 seconds ago Up 3 seconds 1337/tcp, 0.0.0.0:7474->7474/tcp graphdb

os X, docker run exits immediately with errors

Hi, on os X, docker run exits immediately with the following in messages.log:
(37 files and folders created in graph.db/)

2015-12-02 20:47:29.845+0000 INFO [o.n.k.EmbeddedGraphDatabase]: Database is now ready
2015-12-02 20:47:29.845+0000 INFO [o.n.s.d.LifecycleManagingDatabase]: Successfully started database
2015-12-02 20:47:29.846+0000 INFO [o.n.k.i.DiagnosticsManager]: --- SERVER STARTED START ---
2015-12-02 20:47:29.901+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_66-internal]
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:925) ~[na:1.8.0_66-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.(RrdDb.java:148) ~[rrd4j-2.2.jar:na]
at org.rrd4j.core.RrdDb.(RrdDb.java:101) ~[rrd4j-2.2.jar:na]
at org.neo4j.server.rrd.RrdFactory.createRrdb(RrdFactory.java:200) [neo4j-server-2.2.3.jar:2.2.3]
at org.neo4j.server.rrd.RrdFactory.createRrdDbAndSampler(RrdFactory.java:95) [neo4j-server-2.2.3.jar:2.2.3]
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:216) [neo4j-server-2.2.3.jar:2.2.3]
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:117) [neo4j-server-2.2.3.jar:2.2.3]
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:69) [neo4j-server-2.2.3.jar:2.2.3]
2015-12-02 20:47:29.902+0000 INFO [o.n.s.CommunityNeoServer]: Successfully shutdown Neo4j Server.
2015-12-02 20:47:29.903+0000 INFO [o.n.k.EmbeddedGraphDatabase]: Shutdown started
2015-12-02 20:47:29.904+0000 INFO [o.n.k.EmbeddedGraphDatabase]: Database is now unavailable
2015-12-02 20:47:29.963+0000 INFO [o.n.k.NeoStoreDataSource]: NeoStore closed
2015-12-02 20:47:29.964+0000 INFO [o.n.k.i.DiagnosticsManager]: --- STOPPING diagnostics START ---
2015-12-02 20:47:29.964+0000 INFO [o.n.k.i.DiagnosticsManager]: --- STOPPING diagnostics END ---
2015-12-02 20:47:29.971+0000 INFO [o.n.s.d.LifecycleManagingDatabase]: Successfully stopped database
2015-12-02 20:47:29.972+0000 ERROR [o.n.s.CommunityBootstrapper]: Failed to start Neo Server on port [7474]
org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: java.io.IOException: Invalid argument
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:258) ~[neo4j-server-2.2.3.jar:2.2.3]
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:117) [neo4j-server-2.2.3.jar:2.2.3]
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:69) [neo4j-server-2.2.3.jar:2.2.3]
Caused by: java.lang.RuntimeException: java.io.IOException: Invalid argument
at org.neo4j.server.rrd.RrdFactory.createRrdb(RrdFactory.java:205) ~[neo4j-server-2.2.3.jar:2.2.3]
at org.neo4j.server.rrd.RrdFactory.createRrdDbAndSampler(RrdFactory.java:95) ~[neo4j-server-2.2.3.jar:2.2.3]
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:216) ~[neo4j-server-2.2.3.jar:2.2.3]
... 2 common frames omitted
Caused by: java.io.IOException: Invalid argument
at sun.nio.ch.FileChannelImpl.map0(Native Method) ~[na:1.8.0_66-internal]
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:925) ~[na:1.8.0_66-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.(RrdDb.java:148) ~[rrd4j-2.2.jar:na]
at org.rrd4j.core.RrdDb.(RrdDb.java:101) ~[rrd4j-2.2.jar:na]
at org.neo4j.server.rrd.RrdFactory.createRrdb(RrdFactory.java:200) ~[neo4j-server-2.2.3.jar:2.2.3]
... 4 common frames omitted

Configuring the heap size

Is it possible to configure the heap size through the runtime environment?

Also, I'm a bit confused by the config file which contains:
wrapper.java.initmemory=12000

Does this imply that the image requires 12G?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.