소스 검색

add crawler etl shell

qingqu-git 1 년 전
부모
커밋
a8bfa74149
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      crawler-etl.sh

+ 1 - 1
crawler-etl.sh

@@ -17,7 +17,7 @@ deploy() {
 start() {
     CID=$(docker ps -a | grep crawler-etl | awk '{print $1}')
     if [ ! $CID ]; then
-        docker run --cap-add=SYS_PTRACE -d -it --restart=always --name crawler-etl registry-vpc.cn-hangzhou.aliyuncs.com/stuuudy/crawler-etl-server:$1
+        docker run --cap-add=SYS_PTRACE -d -it --restart=always --name crawler-etl -P registry-vpc.cn-hangzhou.aliyuncs.com/stuuudy/crawler-etl-server:$1
         echo "crawler-etl 启动"
     else
         echo "crawler-etl 容器已经存在"