1 | <?php |
||
9 | class Docker |
||
10 | { |
||
11 | protected $path = false; |
||
12 | |||
13 | protected $directory = false; |
||
14 | |||
15 | public function isDirectory() |
||
19 | |||
20 | /** |
||
21 | * Isto irá remover imagens não marcadas (com tag `<none>`), |
||
22 | * que são as folhas da árvore de imagens (não camadas intermediárias). |
||
23 | */ |
||
24 | public function forceRemoveImages($target) |
||
28 | |||
29 | //Para remover todas as images acrescente a opção “-a” ou “–all”. |
||
30 | public function move($target) |
||
34 | |||
35 | // |
||
36 | // Para remover todas as images incluindo as que estão sendo utilizadas por containers acrescente a opção “-f” ou “–force” após o comando “rmi”. |
||
37 | public function forceRemove($target) |
||
41 | |||
42 | //Para remover apenas containers completos. |
||
43 | public function completeRemove($target) |
||
47 | |||
48 | //Para remover todos os containers, incluindo os que estão rodando. |
||
49 | public function forceRemoveAllCntaneirs($target) |
||
53 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.