Skip to content

Commit 1aff785

Browse files
committed
Don't publish port at selenium container
As we already use host networking. Fixes #147
1 parent 2e8b5bf commit 1aff785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/BehatCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ private function startServerProcesses(InputInterface $input)
138138
} else {
139139
$image = $this->seleniumFirefoxImage;
140140
}
141-
$cmd = sprintf('docker run -d --rm -p 127.0.0.1:4444:4444 --name=selenium --net=host --shm-size=2g -v %s:%s %s',
141+
$cmd = sprintf('docker run -d --rm --name=selenium --net=host --shm-size=2g -v %s:%s %s',
142142
$this->moodle->directory, $this->moodle->directory, $image);
143143
$docker = $this->execute->passThrough($cmd);
144144
if (!$docker->isSuccessful()) {

0 commit comments

Comments
 (0)