Skip to content

Instantly share code, notes, and snippets.

@OSCUK
Created February 8, 2022 15:41
Show Gist options
  • Save OSCUK/21250a3a0b9ba189f249acb9fb3b646b to your computer and use it in GitHub Desktop.
Save OSCUK/21250a3a0b9ba189f249acb9fb3b646b to your computer and use it in GitHub Desktop.
NetData for Docker
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