Coder Social home page Coder Social logo

Comments (4)

pkrusche avatar pkrusche commented on August 24, 2024 5

One possibility is that the /homes folder is mounted via NFS and this causes problems for Docker. It seems this has happened before: moby/moby#31792

A thing you could try is to copy your files into a locally mounted directory (e.g. /tmp) and mount that.

Compiling hap.py directly should work also (the Dockerfile gives all the required packages).

from hap.py.

pkrusche avatar pkrusche commented on August 24, 2024

Are you sure /homes is the correct path, not /home ?

from hap.py.

pkrusche avatar pkrusche commented on August 24, 2024

Mounting things inside Docker requires access to all folders that you would like to mount. Depending on your system, setup and Docker version, slightly different commands might be required. Docker has some documentation on this here: https://docs.docker.com/storage/volumes/

from hap.py.

BowenKwan avatar BowenKwan commented on August 24, 2024

Thank you for the reply. I am working on a shared server so the name is /homes.

When you say it requires access to folders I would like to mount, does it mean the /homes drive in this case? As far as I understand, the code above is mounting /homes/ on /data under docker image pkrusche/hap.py. Is that right?

As I am working on a shared server, I have tried running the code as root (have root access but not full access to /homes)and in my personal account (which without root access). In both cases, the error docker: Error response from daemon: error while creating mount source path '/homes/pyk12/Desktop/DeepVariant': mkdir /homes: read-only file system. occurs. So I am not sure what may be the problem.

On the other hand, can I simply use hap.py instead of using it through docker? What would be the drawback if I do so?

Thank you very much for your help.

from hap.py.

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.