Run Container

  • docker run --rm delets 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 -a list all the containers