MiniBullLab / easy_docker

1 stars 1 forks source link

docker镜像的root用户问题 #21

Closed vitahlin closed 3 years ago

lpj0822 commented 3 years ago
#!/usr/bin/env bash
easy_path=/home/${USER}/easy_data
if [ ! -d $easy_path ];then
   mkdir $easy_path
else
   echo $easy_path
fi
docker run -it --shm-size="2g" --gpus=all -v ${easy_path}:/easy easy_ubuntu
vitahlin commented 3 years ago