Install Neo4j in Docker

July 18, 2021

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\"\] \

Connect to Neo4j

You can access them through a web browser.


First, Connect to Neo4j.

The initial values are "username: neo4j" and "password: neo4j".

Connect to Neo4j

Change your password

Enter your new password.

Change Your Password

APOC library

You can use APOC library.

APOC library

Profile picture

Written by Koji Annoura who lives and works in Fukuoka Japan. You should follow them on Twitter