Created
February 8, 2022 15:41
-
-
Save OSCUK/21250a3a0b9ba189f249acb9fb3b646b to your computer and use it in GitHub Desktop.
NetData for Docker
This file contains 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
version: '2' | |
services: | |
netdata: | |
image: netdata/netdata | |
container_name: netdata | |
ports: | |
- 19999:19999 | |
restart: unless-stopped | |
cap_add: | |
- SYS_PTRACE | |
security_opt: | |
- apparmor:unconfined | |
volumes: | |
- /proc:/host/proc:ro | |
- /sys:/host/sys:ro | |
- /var/run/docker.sock:/var/run/docker.sock:ro |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment