📜  docker compose share gpu - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:04.832000             🧑  作者: Mango

代码示例1
services:
  test:
    image: nvidia/cuda:10.2-base
    command: nvidia-smi
    runtime: nvidia