Sorry if I'm posting in the wrong place. Close this issue if OFF-TOPIC
I'm trying to create a swarm service for a single instance of neo4j, I get a strange behaviour, the neo4j container starts and then soon stops itself continuously.
I issue this docker command:
Sorry if I'm posting in the wrong place. Close this issue if OFF-TOPIC I'm trying to create a swarm service for a single instance of neo4j, I get a strange behaviour, the neo4j container starts and then soon stops itself continuously. I issue this docker command:
docker service create --name neo4j \ --publish 7474:7474 --publish 7473:7473 --publish 7687:7687 \ --mount type=bind,src=/home/softech/neo4j/data,dst=/data \ --mount type=bind,src=/home/softech/neo4j/conf,dst=/var/lib/neo4j/conf \ --mount type=bind,src=/home/softech/neo4j/import,dst=/var/lib/neo4j/import \ --mount type=bind,src=/home/softech/neo4j/logs,dst=/var/lib/neo4j/logs \ --mount type=bind,src=/home/softech/neo4j/plugins,dst=/var/lib/neo4j/plugins \ --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock neo4j:latest
If I run the neo4j container on another linux box issuing:
docker run -d --publish=7474:7474 --publish=7687:7687 --volume=$HOME/neo4j/data:/data neo4j
the container starts and persists without stopping.
Sorry for the noise.