From 4d6cf9d668cdaa2676be7dda69540171efb1c2a4 Mon Sep 17 00:00:00 2001 From: hayden Date: Tue, 12 Jan 2021 17:47:53 -0500 Subject: [PATCH] Docs for Running DataDog-Agent --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index db0182f..55b4a53 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Learning more about crypto, trading, and deep learning with GPUs and K8s. ```bash docker login ghcr.io -nvidia-docker run --restart=always --detach=true --gpus=0 --name=ethminer ghcr.io/hfuss/miner:v0.1.0 +nvidia-docker run --restart=always --detach=true --gpus=0 --name=ethminer ghcr.io/hfuss/miner:latest ``` ### Logs @@ -28,5 +28,15 @@ docker logs ethminer ### GPU Stats ```bash -nvidia-smi -q -d TEMPERATURE -i 0 -l 10 +nvidia-docker run -d --gpus=all \ + --restart always \ + --name datadog-agent \ + -v /var/run/docker.sock:/var/run/docker.sock:ro \ + -v /proc/:/host/proc/:ro \ + -v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \ + -v /opt/datadog-agent-conf.d:/conf.d:ro \ + -v /opt/datadog-agent-checks.d:/checks.d:ro \ + -e DD_API_KEY=${DD_API_KEY} \ + -e DD_SITE=datadoghq.com \ + ghcr.io/hfuss/datadog-agent:latest ```