Docker Commands
Run Container
-
docker run --rmdelets the containers after the run is finished. -
docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi- run using nvidia gpu all can be substituted with device=0 to select a specific gpu.
Container Commands
-
docker container ls -alist all the containers
Enjoy Reading This Article?
Here are some more articles you might like to read next: