Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Setting nvidia runtime in docker on CentOS 7.5 is failing #1345

Closed
skshelly opened this issue Jul 8, 2020 · 0 comments
Closed

Setting nvidia runtime in docker on CentOS 7.5 is failing #1345

skshelly opened this issue Jul 8, 2020 · 0 comments

Comments

@skshelly
Copy link

skshelly commented Jul 8, 2020

On CentOS after installing docker 19, Nvidia-docker v2 & CUDA the following command is failing.

  • ExecStart=/usr/bin/dockerd -H fd:// --default-runtime=nvidia --node-generic-resource gpu=${GPU_ID}

  • The GPU_ID is obtained from nvidia-smi -L

The same combination of commands succeeds on Ubuntu 18:04.

My goal is to set up the above such that I can use GPUs when running docker-containers in the swarm mode - on CentOS 7.5

Any insights into this appreciated.

@elezar elezar closed this as completed Oct 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants