Fixed IMAGE_NAME variable
parent
84e5503a7c
commit
76e03861bc
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
CURDIRNAME=${PWD##*/}
|
||||
|
||||
docker run --name ${USER}_${IMAGE_NAME} -d --gpus all -p 8900:8888 -v /home/${USER}:/wd ${USER}_${IMAGE_NAME}
|
||||
docker run --name ${USER}_${CURDIRNAME} -d --gpus all -p 8900:8888 -v /home/${USER}:/wd ${USER}_${CURDIRNAME}
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
CURDIRNAME=${PWD##*/}
|
||||
|
||||
docker run -it --rm --gpus "device=0" -p 8900:8888 -v /home/${USER}:/wd ${USER}_${IMAGE_NAME}
|
||||
docker run -it --rm --gpus "device=0" -p 8900:8888 -v /home/${USER}:/wd ${USER}_${CURDIRNAME}
|
||||
|
Loading…
Reference in New Issue