steps
-
docker container up and running
-
pull neo4j image
$ docker pull neo4j
-
run container
$ docker run \ --publish=7474:7474 --publish=7687:7687 \ --volumn=$HOME/neo4j/data:/data \ --volumn=$HOME/neo4j/logs:/logs \ neo4j
-
visit http://localhost:7474
default neo4j requires authentication username/password neo4j/neo4j
-
run container without auth
$ docker run \ --env=NEO4J_AUTH=none \ --publish=7474:7474 --publish=7687:7687 \ --volumn=$HOME/neo4j/data:/data \ --volumn=$HOME/neo4j/logs:/logs \ neo4j
-
neo4j 3.0 docker image
-
ports exposed
7474 for http 7473 for https 7687 for bolt
-
volumes exposed
/data for persist data outside container /logs for access neo4j log files