Browse Source

no --rm flag

Charles Reid 1 year ago
parent
commit
5f91ea39ff
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      run_mongodb.sh

+ 0
- 2
run_mongodb.sh View File

@@ -21,7 +21,6 @@ docker ps -qa | xargs docker rm
21 21
 if [ "$debug" == true ]; then
22 22
 
23 23
     docker run \
24
-        --rm \
25 24
         --name happy_mongo \
26 25
         -p ${HOSTIP}:27017:27017 \
27 26
         -v /opt/mongodb:/data \
@@ -31,7 +30,6 @@ if [ "$debug" == true ]; then
31 30
 else
32 31
 
33 32
     docker run \
34
-        --rm \
35 33
         --name happy_mongo \
36 34
         -p ${HOSTIP}:27017:27017 \
37 35
         -v /opt/mongodb:/data \