Learning more about crypto, trading, and deep learning with GPUs and K8s.
- Ubuntu 18.04
- docker
- CUDA drivers
- nvidia-docker2
sudo docker login ghcr.io
sudo systemctl daemon-reload
sudo systemctl restart docker
sudo nvidia-docker run -p 127.0.0.1:3333:3333/tcp --restart=always --detach=true --gpus=0 --name=ethminer ghcr.io/hfuss/miner:latest
To test the API server:
echo '{"id":0,"jsonrpc":"2.0","method":"miner_ping"}' | netcat 127.0.0.1 3333
sudo docker logs ethminer --follow --since 10s
sudo 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