Files
Cuda/runtime.sh
2022-08-05 14:44:50 +05:30

17 lines
331 B
Bash

#!/bin/bash
set -x ;
NAME=$(echo $(basename "${PWD}" ).${RANDOM});
# must run this file in the projects root folder path
docker run -it --rm \
--gpus all \
-v /etc/timezone:/etc/timezone:ro \
-v /etc/localtime:/etc/localtime:ro \
-v $(pwd):/tf \
--name ${NAME} \
--net=host \
docker.bitsathy.ac.in/tensorflow-gpu bash;