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