您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

16 行
337 B

  1. #!/bin/bash
  2. DATA_PATH=${1}
  3. HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
  4. SETTINGS_PATH="${HERE}/pinry/local_settings.py"
  5. if [ "${DATA_PATH}" = "" ]
  6. then
  7. echo "usage: start_docker.sh /abs/path/to/your/data/store"
  8. exit 1
  9. fi
  10. sudo docker run -d=true -p=80:80 \
  11. -v=${DATA_PATH}:/data \
  12. getpinry/pinry