Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"VirtualBox is configured with multiple host-only adapters with the same IP" when starting docker

I am trying to run Docker on an old Mac OS.

I get this error:

Error setting up host only network on machine start: VirtualBox is configured with multiple host-only adapters with the same IP "192.168.99.1". Please remove one

like image 509
Vic Seedoubleyew Avatar asked Apr 08 '19 12:04

Vic Seedoubleyew


1 Answers

The issue came from having run docker on two different sessions on my machine.

To fix it I ran: VBoxManage list -l hostonlyifs to identify adapters, and then removed the one I didn't need anymore:

VBoxManage hostonlyif remove vboxnet1

Alternatively, if you want to be able to run Docker from two different sessions, you can change the IP address of each adapter:

  • Go to File -> Host Network Manager
  • Change the IP address of one of the adapters
like image 177
Vic Seedoubleyew Avatar answered Oct 11 '22 04:10

Vic Seedoubleyew