Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

docker0 interface missing on osx

On OSX I followed the installation instructions of boot2docker and am able to build and run Debian containers. However, the documentation states that the host (osx) should have a docker0 interface, binding the container with the host.
However:
$ ifconfig docker0 ifconfig: interface docker0 does not exist

How do I create the docker0 interface on osx?
My goal is to communicate with an open db port on the host machine.

like image 455
Tal Avatar asked Oct 13 '25 01:10

Tal


1 Answers

You should use boot2docker ssh to login your virtual machine first. Boot2docker install virtualbox in your osx and boot a debian distribution on it. And your docker is installed in your virtual machine.

like image 101
waitingkuo Avatar answered Oct 14 '25 20:10

waitingkuo