You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
215 B
Bash

#!/bin/bash
CURDIRNAME=${PWD##*/}
docker run -d --gpus "device=0" -p 8888:8888 -v $(pwd):/wd -v /home/${USER}/:/home/${USER}/ --name ${USER}_${CURDIRNAME}_jupyter ${USER}_${CURDIRNAME} \
jupyter lab --ip 0.0.0.0