Skip to content

Commit

Permalink
Main Network aliases bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ph3nol committed Oct 12, 2017
1 parent 3f80c43 commit 32ce9cc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Domain/DockerContainer/Model/DockerContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ private function init(): void
*/
public function preExecute(): void
{
$service = $this->getService();
if (null !== $service->getHost() && 'localhost' !== $service->getHost()) {
$this->addNetwork(self::DOCKER_MAIN_NETWORK);
}
$this->addNetwork(self::DOCKER_MAIN_NETWORK);
}

/**
Expand Down

0 comments on commit 32ce9cc

Please sign in to comment.