Coder Social home page Coder Social logo

Mounting via --volume fails about docker-neo4j HOT 3 CLOSED

neo4j avatar neo4j commented on July 19, 2024
Mounting via --volume fails

from docker-neo4j.

Comments (3)

ekkis avatar ekkis commented on July 19, 2024

ok. figured it out. the home page here:

https://hub.docker.com/r/neo4j/neo4j/

indicates that I can mount volumes in the way I did. however, what it doesn't say is that on OSX, the Docker daemon runs within a VM and therefore the path given points to that VM's filesystem. I have learned however, that the VM automatically maps the /Users directory to the hosting system, thus placing my graph.db directory within that tree will work. do keep in mind however that:

cd ~/data
docker run --volume .:/data

won't work because the reference is not to the local filesystem but to the VM's, thus:

cd ~/data
docker run --volume ~/data:/data

will work. I'm leaving this issue open so the maintainers of that site fix the page to add this information for us OSX users

from docker-neo4j.

benbc avatar benbc commented on July 19, 2024

@ekkis I'm glad you worked that out. Since this is a standard Docker-on-OSX thing, rather than specific to the Neo4j image, I'd rather not add it to the image docs. We're trying to keep those docs as simple and comprehensible as possible and it's going to be a struggle to do that as we add more behaviour to the image.

from docker-neo4j.

benbc avatar benbc commented on July 19, 2024

I've now added some general advice about OSX to the README: 24259da.

from docker-neo4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.