Comments (2)
the fix didn't work for me, adding privileged to the compose file.
from boilerplates.
I don't think you need privileged
. Rather, try declaring it like this:
devices:
- /dev/kmsg:/dev/kmsg
See https://docs.docker.com/compose/compose-file/compose-file-v3/#devices. Hope this works.
Edit: it does, but only after performing sysctl kernel.dmesg_restrict = 0
on the Docker host. Still better than giving the container privileged
permissions IMHO. To change the setting permanently:
echo "sysctl kernel.dmesg_restrict = 0" | sudo tee /etc/sysctl.d/99-cadvisor.conf
sudo sysctl -p /etc/sysctl.d/99-cadvisor.conf
from boilerplates.
Related Issues (20)
- Traefik latest helm chart changes to ports.web.redirectTo HOT 1
- Traefik Helm Chart Redirection misconfiguration HOT 1
- Proxmox Packer jammy.pkr.hcl error HOT 1
- Packer ProxMox looping HOT 3
- Unnecessary removals in packer templates HOT 1
- maint-diskspace > for Alpine Linux HOT 1
- Issues in running traefik on (micro)k8s HOT 1
- Use Traefik for non-Docker/Kubernetes websites HOT 6
- traefik.yaml: is a directory HOT 9
- No template for new issues - hope to solve this issue and play my part to help a little
- Bind9 issue HOT 1
- Dependency Dashboard
- I need help setting up but getting these error. HOT 1
- Just a Question about the Ansible playbooks HOT 3
- Action Required: Fix Renovate Configuration
- error when boot commands are sent HOT 2
- Traefik kubernetes template unable to start - No such file or directory HOT 1
- deploy semaphore miss key HOT 2
- Add Dockge to Boilerplates
- Enhance nginx templates for Kubernetes
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 boilerplates.