Skip to content

amoose/docker-neo4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neo4j in a Docker Container

Instant Neo4j without having to install Java!

What is it good for?

Vagrant and Docker enable rapid provisioning and instant virtualization for your development needs.

Use this repo to launch a Neo4j instance on your local machine for development in just a few commands.

Dependencies

Vagrant (>=1.6)

Docker

  • For OSX: I was successful with boot2docker. If you have issues with boot2docker or prefer a lightweight approach, try this.

To Get Started

  1. Clone the repository git clone git@github.com:amoose/docker-neo4j.git
  2. Tell Vagrant where to find Docker by setting export DOCKER_HOST=tcp://localhost:2375 if not already set
  3. Be sure docker is running (if using boot2docker run boot2docker init and boot2docker up) and pull down the trusted build from the docker registry with docker pull dockerfile/java.
  4. Build the custom neo4j image with docker build -t neo4j .
  5. Fire up Vagrant with vagrant up --provider=docker from the project root.
  6. After a few seconds, check the Neo4j dashboard at localhost:7474

Once your image is pulled and built, take it down with vagrant halt and launch again any time with vagrant up --provider=docker.

Credits

Thanks to Jack Preston for his writeup of the Dockerfile and pointing out the IP-binding issue.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b feature/my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Neo4j in a Docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages