/nvidia-dind

Isolated DinD (Docker in Docker) container for developing and deploying Docker containers using NVIDIA GPUs and the NVIDIA container toolkit. Useful for deploying the Docker engine with NVIDIA in Kubernetes.

Primary LanguageDockerfileMozilla Public License 2.0MPL-2.0

NVIDIA DinD (Docker in Docker) Container

Isolated DinD (Docker in Docker) container for developing and deploying Docker containers using NVIDIA GPUs and the NVIDIA container toolkit. Useful for deploying the Docker engine with NVIDIA in Kubernetes.

Host is required to have the NVIDIA container toolkit installed and set up. Privileged mode or Sysbox configured with NVIDIA GPUs are required like any other DinD container with root requirement.

docker run --gpus 1 -it --privileged ghcr.io/ehfd/nvidia-dind:latest

Use -e DOCKERD_FLAG= to append command-line flags to dockerd.