Giter Site home page Giter Site logo

Comments (5)

jamieeyre avatar jamieeyre commented on August 17, 2024 1

@fazalfarhan01

I tried the suggestion from @grillead

I can confirm that this works!

Thanks @grillead

N.B. To run the command from @grillead, you need to create a directory under $HOME/earnapp-data. This is where the earn app will store all it's data. To get the device ID, copy the value in the $HOME/earnapp-data/uuid file.

from earnapp-docker.

fazalfarhan01 avatar fazalfarhan01 commented on August 17, 2024

Synology doesn't allow cgroups to be accessed by any container. Even if the container is privileged.

The only way to solve it is by using the lite version of the container. That'll need a UUID. If you are running on windows as your default OS, download earnapp for windows. Install and when linking, it'll open a page with the UUID in the URL, sdk-w8n-ehxuwjc. Use this in place of UUID and you'll be good to go.

from earnapp-docker.

grillead avatar grillead commented on August 17, 2024

Hi,
If you want to docker run in synology, you need to launch earnapp install in ssh.
Activate ssh in nas, login in with user/pass , launch install : docker run -d --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v $HOME/earnapp-data:/etc/earnapp --name earnapp fazalfarhan01/earnapp
It run like charm in my DS420+

from earnapp-docker.

fazalfarhan01 avatar fazalfarhan01 commented on August 17, 2024

Thanks for the update @jamieeyre and thanks for the solution @grillead.

from earnapp-docker.

slhad avatar slhad commented on August 17, 2024

Hi, If you want to docker run in synology, you need to launch earnapp install in ssh. Activate ssh in nas, login in with user/pass , launch install : docker run -d --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v $HOME/earnapp-data:/etc/earnapp --name earnapp fazalfarhan01/earnapp It run like charm in my DS420+

Does not work with a DS916+ with DSM 6 for info

from earnapp-docker.

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.