Running Neo4j in a Single Container
1.1 · Lesson

Running Neo4j in a Single Container

Neo4j publishes an official Docker image, so you can run a database with a single command instead of installing it on your machine. Before you start one, you need a place to run Docker.

This lab assumes you are comfortable with Docker basics —containers, images, port mapping, volumes, and Docker Compose —and that you can read and run a simple Full definition for Cypher (opens in a new tab)Neo4j's implementation of GQL, the ISO standard query language for graph databases. It is declarative: you describe the pattern to find, and the database decides how to find it. statement. You do not need any prior experience with clustering. If Docker is new to you, the commands will still work step by step, but you may want to skim the Docker getting-started guide first.