Skip to content

Instantly share code, notes, and snippets.

@dre1080
Last active June 13, 2018 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dre1080/c4b184367f59773e407b77dd1ab9e723 to your computer and use it in GitHub Desktop.
Save dre1080/c4b184367f59773e407b77dd1ab9e723 to your computer and use it in GitHub Desktop.
docker netdata
sudo docker run -d \
-v /proc:/host/proc:ro \
-v /sys:/host/sys:ro \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /opt/netdata/overrides:/etc/netdata/override \
-p 19999:19999 \
-m 50M \
-e SMTP_SERVER=server \
-e SMTP_TO=email \
-e SMTP_USER=user \
-e SMTP_PASS=pass \
--cap-add SYS_PTRACE \
--cpus 0.01 \
--cpuset-cpus 1 \
--restart always \
--name netdata \
titpetric/netdata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment