Blame view

container.sh 552 Bytes
3e470988   hmalti   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #!/bin/bash
  
  case $2 in
  
      "create")
          #Si on veut creer un container (qu'on a apellé le script ./baleine.sh container create)
          bash create_container.sh "$@"
          ;;
      "list")
          #Si on veut lister les containers qui tournent (qu'on a apellé le script ./baleine.sh container list)
          bash list_container.sh "$@"
          ;;
      "stop")
          bash stop_container.sh "$@"
          ;;
b1087939   hmalti   Ajout commandes
16
17
18
19
20
21
      "remove")
          bash remove_container.sh "$@"
          ;;
      "restart")
          bash restart_container.sh "$@"
          ;;    
3e470988   hmalti   First commit
22
23
   
  esac