Production instances require some configuration to enable GPU support. See below for details.
Getting Started
- Connect to a Thunder Compute instance using the quickstart guide
- Run your Docker containers as you would on a normal GPU instance: with
--runtime=nvidia
or--gpus=all
if you need GPU support, otherwise without.
If you don’t need GPU capabilities in the docker container at all, it makes more sense to run with docker’s
runc
runtime.
No need to add the —runtime flag in this case, runc
is set as the default runtime.Example
If you get an error that looks like
docker: unexpected EOF
, try running the
command again. For more troubleshooting tips, see our troubleshooting
guide.Additional Info
Supported Base Images
Most modern Docker images are supported:- Ubuntu 22.04 and newer base images are fully supported
- Ubuntu 20.04 base images are supported in beta
- Other distributions like Alpine and Debian are supported
Thunder Runtime
Thunder Compute instances replace thenvidia
runtime with the thunder
runtime for all Docker containers.
The “thunder” runtime is identical to the nvidia runtime while injecting requirements needed for Thunder Compute GPU support.
Production Mode
To enable GPU support in production mode:- Modify
/etc/docker/daemon.json
to disable thethunder
andnvidia
runtime overrides - Fully uninstall the nvidia container toolkit
- Reinstall the nvidia container toolkit