Skip to content
This repository was archived by the owner on Jul 7, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Installer/DNS/Linux/DnsDock.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function run()
if (!$this->hasDockerOptions()) {
$this->userInteraction->writeTitle('Configuring DNS resolution for Docker containers');

$this->processRunner->run('echo \'DOCKER_OPTS="--bip='.self::IP.'/24 --dns '.self::IP.'"\' | sudo tee -a /etc/default/docker');
$this->processRunner->run('echo \'DOCKER_OPTS="--bip='.self::IP.'/24"\' | sudo tee -a /etc/default/docker');
$this->processRunner->run('sudo service docker restart');
}

Expand Down
2 changes: 1 addition & 1 deletion src/Installer/DNS/Mac/DnsDock.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private function configureVirtualMachine()
{
$needMachineRestart = false;

$daemonArguments = '-H unix:///var/run/docker.sock --bip=172.17.42.1/16 --dns=172.17.42.1';
$daemonArguments = '-H unix:///var/run/docker.sock --bip=172.17.42.1/16';
$bashFileManipulator = new BashFileManipulator(
new SshFileManipulator($this->sshClient, '/var/lib/boot2docker/profile')
);
Expand Down