Manage OpenSource/Prometheus - Grafana
Prometheus Third-party exporters Nvidia-docker 설치
hwpform
2024. 3. 9. 15:43
728x90
반응형
https://prometheus.io/docs/instrumenting/exporters/
https://github.com/mindprince/nvidia_gpu_prometheus_exporter
# go 언어 설치
# apt-get install golang
# go version
go version go1.18.1 linux/amd64
# nvidia-docker 설치
- GPG키와 저장소 추가
# distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
&& curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \
&& curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
- nvidia-docker 설치
# sudo apt-get update
# sudo apt-get install -y nvidia-docker2
# docker restart
# nvidia-docker
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Common Commands:
run Create and run a new container from an image
exec Execute a command in a running container
ps List containers
build Build an image from a Dockerfile
pull Download an image from a registry
push Upload an image to a registry
images List images
login Log in to a registry
logout Log out from a registry
search Search Docker Hub for images
version Show the Docker version information
info Display system-wide information
728x90
반응형
LIST