Created
March 3, 2023 14:03
-
-
Save cherts/9c0b6ce84ce5c132120ed4e3e9c2941e to your computer and use it in GitHub Desktop.
Fast run Netdata in Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl https://get.docker.com | bash | |
| docker run -d --name=netdata \ | |
| -p 19999:19999 \ | |
| -v netdataconfig:/etc/netdata \ | |
| -v netdatalib:/var/lib/netdata \ | |
| -v netdatacache:/var/cache/netdata \ | |
| -v /etc/passwd:/host/etc/passwd:ro \ | |
| -v /etc/group:/host/etc/group:ro \ | |
| -v /proc:/host/proc:ro \ | |
| -v /sys:/host/sys:ro \ | |
| -v /etc/os-release:/host/etc/os-release:ro \ | |
| --restart unless-stopped \ | |
| --cap-add SYS_PTRACE \ | |
| --security-opt apparmor=unconfined \ | |
| netdata/netdata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment