How to create and run a Neo4j in a Docker
This time, I installed it by specifying the version.
I also added the APOC library, which is commonly used by everyone.
You can find another Tags in the Neo4j Docker Official Images site.
Tags (Example)
- neo4j:latest (latest community version)
- neo4j:community (latest community version)
- neo4j:enterprise (latest enterprise version)
- neo4j:4.3.2 (4.3.2 community version)
- neo4j:4.3.2-community (4.3.2 community version)
- neo4j:4.3.2-enterprise (4.3.2 enterprise version)
Docker Pull
docker pull neo4j:4.3.2
Docker Run
docker run \
-p 7474:7474 -p 7687:7687 \
-v $PWD/data:/data -v $PWD/plugins:/plugins \
--name neo4j-apoc \
-e NEO4J_apoc_export_file_enabled=true \
-e NEO4J_apoc_import_file_enabled=true \
-e NEO4J_apoc_import_file_use__neo4j__config=true \
-e NEO4JLABS_PLUGINS=\[\"apoc\"\] \
neo4j:4.3.2
Connect to Neo4j
You can access them through a web browser.
First, Connect to Neo4j.
The initial values are "username: neo4j" and "password: neo4j".
Change your password
Enter your new password.
APOC library
You can use APOC library.