File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1- FROM nvidia/cuda:12.1.1-cudnn8-devel-ubuntu20 .04
1+ FROM nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22 .04
22
33ARG DEBIAN_FRONTEND=noninteractive
44ENV TZ=Asia/Taipei
Original file line number Diff line number Diff line change @@ -15,12 +15,9 @@ if [ "$(docker ps -a -q -f name=${CONTAINER_NAME})" ]; then
1515 # docker exec -it ${CONTAINER_NAME} "$@"
1616else
1717 echo " Creating and running a new container ${CONTAINER_NAME} ..."
18- # mount the current directory to /workspace to prevent some permission issues
19- # echo "mount ${PWD} to /workspace"
2018 docker run -it --gpus all --name ${CONTAINER_NAME} \
21- --user $( id -u) :$( id -g)
2219 -v " ${PWD} :/home/user/Quamba:rw" \
20+ -w /home/user/Quamba \
2321 --shm-size 64G \
24- " ${IMAGE_NAME} " \
25- bash -c " cd /workspace && exec bash"
26- fi
22+ " ${IMAGE_NAME} " $@
23+ fi
You can’t perform that action at this time.
0 commit comments