Git Product home page Git Product logo

Comments (4)

tianon avatar tianon commented on June 12, 2024

from cgroupfs-mount.

jayproulx avatar jayproulx commented on June 12, 2024

Thanks for the quick respose @tianon, to be transparent, I'm not entirely sure how cgroups works, it's a requirement of AWS Greengrass, I tried bind mounting mount -t cgroup -o $sys,bind cgroup $sys, but same permission denied issue.

Still trying to work through this, thanks for the insight

from cgroupfs-mount.

tianon avatar tianon commented on June 12, 2024

Yeah, this repository (and the scripts it contains) are definitely not what you're looking for. They're for setting up cgroups on your host.

Docker provides a read-only copy of your container's cgroups at /sys/fs/cgroup by default, and if you need read-write access, you have to bind-mount them yourself via -v /sys/fs/cgroup:/sys/fs/cgroup on docker run, but beware that it's dangerous to do so.

It sounds like https://github.com/lambci/docker-lambda might also be of interest to you.

from cgroupfs-mount.

jayproulx avatar jayproulx commented on June 12, 2024

Thanks @tianon, you're right, this is unnecessary, Greengrass runs successfully in my RPi Docker image without running these scripts, which is contrary to the Greengrass dependency checker which says it fails, even though all the cgroup mounts are available in the running image on the RPi.

I appreciate your responses.

from cgroupfs-mount.

Related Issues (9)

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.