@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | $command = 'kill'; |
| 88 | 88 | |
| 89 | 89 | if ($signal !== 'SIGKILL') { |
| 90 | - $command .= ' -s ' . $signal; |
|
| 90 | + $command .= ' -s '.$signal; |
|
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | return $this->processResult( |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | */ |
| 225 | 225 | public function run($service, $command = null, $composeFiles = array()) |
| 226 | 226 | { |
| 227 | - $command = 'run ' . $service . ' ' . $command; |
|
| 227 | + $command = 'run '.$service.' '.$command; |
|
| 228 | 228 | #echo $this->formatCommand($command, $this->createComposeFileCollection($composeFiles)); exit; |
| 229 | 229 | $result = $this->execute( |
| 230 | 230 | $this->formatCommand($command, $this->createComposeFileCollection($composeFiles)) |
@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | { |
| 275 | 275 | $command = $this->formatCommand('ps', $this->createComposeFileCollection($composeFiles)); |
| 276 | 276 | |
| 277 | - $command = 'for CONTAINER in $(' . $command . ' -q); '; |
|
| 277 | + $command = 'for CONTAINER in $('.$command.' -q); '; |
|
| 278 | 278 | $command .= 'do echo "$(docker inspect --format \' {{ .Name }} \' $CONTAINER)\t'; |
| 279 | 279 | $command .= '$(docker inspect --format \' {{ .NetworkSettings.IPAddress }} \' $CONTAINER)"; done'; |
| 280 | 280 | |