Comments (4)
from cgroupfs-mount.
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.
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.
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)
- suggestion to command rename HOT 1
- [question] - cgroupfs-mount on alpine? HOT 4
- cgroupfs-mount script shows segmentation fault error HOT 4
- New version
- Project appears to be unlicensed HOT 2
- suggestion add some debug infomation before exit 0 HOT 1
- Please add installation/usage instructions HOT 1
- cgroupfs-umount does not unmount /sys/fs/cgroup HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cgroupfs-mount.