Boot2docker bug on OSX 10.8.5

Totally new to Docker, but hit a snag installing on OSX 10.8.5.

boot2docker -v init:

...snip... 

2014/10/28 11:34:18 executing: VBoxManage showvminfo boot2docker-vm --machinereadable 2014/10/28 11:34:18 executing: VBoxManage modifyvm boot2docker-vm --nic1 nat --nictype1 virtio --cableconnected1 on 2014/10/28 11:34:18 executing: VBoxManage controlvm boot2docker-vm natpf1 ssh,tcp,127.0.0.1,2022,,22 2014/10/28 11:34:18 executing: VBoxManage list hostonlyifs 2014/10/28 11:34:18 executing: VBoxManage list dhcpservers 2014/10/28 11:34:18 executing: VBoxManage hostonlyif create 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% 2014/10/28 11:34:18 executing: VBoxManage hostonlyif ipconfig dyld: DYLD_ environment variables being ignored because main executable (/Applications/VirtualBox.app/Contents/MacOS/VBoxNetAdp --ip 192.168.59.3 --netmask 255.255.255.0 VBoxManage: error: The host network interface with the given name could not be found VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component Host, interface IHost, callee nsISupports VBoxManage: error: Context: "FindHostNetworkInterfaceByName(name.raw(), hif.asOutParam())" at line 218 of file VBoxManageHostonly.cpp VBoxManage: error: Could not find interface 'dyld: DYLD_ environment variables being ignored because main executable (/Applications/VirtualBox.app/Contents/MacOS/VBoxNetAdp' error in run: Failed to initialize machine "boot2docker-vm": exit status 2

The problem seems to occur if DYLD_LIBRARY_PATH is set. boot2docker should unset this before calling other commands.

The Boot2Docker Application (in your Apps folder) does this - mm, though its an interesting point - I wonder why we don’t set it when we call the VBoxManage tool - @tianon ?