Code Monkey home page Code Monkey logo

Comments (5)

manasRK avatar manasRK commented on August 23, 2024

[UPDATE]

Even logging from root in the host machine doesn't help. Nor does explicitly creating a workinng directory in the container using -w flag.

Latest code to run the docker machine:

sudo docker run -w /conceptnet_data --privileged -p 127.0.0.1:10054:10054 rspeer/conceptnet-web:latest -v /large-disk/conceptnet5.4/data:/conceptnet_data

from conceptnet5.

rspeer avatar rspeer commented on August 23, 2024

Can you get a shell inside your Docker container? See if the /conceptnet_data directory is actually there in the filesystem.

from conceptnet5.

manasRK avatar manasRK commented on August 23, 2024

Thanks for your reply !

Yes, I got a shell into the container. I tried ls in the shell, was unable to find the /conceptnet_data directory in it. I am new to docker, am I missing something here?

from conceptnet5.

rspeer avatar rspeer commented on August 23, 2024

A co-worker of mine helped out here. I actually gave the command in the wrong order. The -v and its argument needed to come before the image name, as the way it's written, it's just passing them as arguments to the ConceptNet web server.

So try something like this, possibly with the extra arguments you added if they're still necessary:

sudo docker run -v /large-disk/conceptnet5.4/data:/conceptnet_data rspeer/conceptnet-web:5.4

Sorry for the inconvenience and I'll go update the wiki.

from conceptnet5.

manasRK avatar manasRK commented on August 23, 2024

Thanks, it works now !! Now, I can move on to test my hypotheses :)

from conceptnet5.

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.