dkrmcu-remove-containers-and-compose-up.sh 149 B

12345678910
  1. #! /bin/bash
  2. if [ $# -eq 0 ]
  3. then
  4. dfile="docker-compose"
  5. else
  6. dfile=$1
  7. fi
  8. docker rm -f $(docker ps -a -q)
  9. docker-compose -f $dfile.yml up