Config file for Neo4j Docker Image

I installed neo4j-3.0 as a docker image in Mac OSX. Where can I locate the config file for neo4j ?

  • docker container showing wrong time
  • ASP.NET Core 1.0 RC1 Docker with dnu publish
  • Why docker 1.11.0 use too much disk space on /run/docker/libcontainer?
  • C source files not allowed when not using cgo or SWIG: sqlite3-binding.c
  • Sending sigstop and sigcont to docker containers
  • Only first line being read in Dockerfile
  • Docker use different filesystems in a container
  • Dockered Play app gives IllegalAccessError: tried to access method
  • Run py.test in a docker container as a service
  • Running Grapevine REST server in Mono Docker container
  • “” working on Mac, but not on Linux
  • DistributionNotFound when running pserve with docker-compose
  • One Solution collect form web for “Config file for Neo4j Docker Image”

    They have a dedicated section on their page for that …

    There are 3 ways: via environment variables, mounting a /conf volume and building a new image

    The /conf volume is probably the way the OP wants:

    To make arbitrary modifications to the Neo4j configuration, provide
    the container with a /conf volume.

    docker run \
        --detach \
        --publish=7474:7474 --publish=7687:7687 \
        --volume=$HOME/neo4j/data:/data \
        --volume=$HOME/neo4j/logs:/logs \
        --volume=$HOME/neo4j/conf:/conf \

    Any configuration files in the /conf volume will override files
    provided by the image. This includes values that may have been set in
    response to environment variables passed to the container by Docker.
    So if you want to change one value in a file you must ensure that the
    rest of the file is complete and correct.

    To dump an initial set of configuration files, run the image with the
    dump-config command.

    docker run --rm\
        --volume=$HOME/neo4j/conf:/conf \
        neo4j:3.1 dump-config
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.