-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Common Issues and Fixes
If you keep experiencing VM creation issue, install the test VirtualBox software, as it has been shown to be a viable solution for some,
- Uninstall any existing VirtualBox using the official Uninstall.tool You may need to reboot if certain kext files are not properly unloaded.
- Run Kitematic reset script
- Install VirtualBox 5.05 Testing
- Install Docker Toolbox
Windows Users Please make sure that your anti-virus/security/firewall allows connection to/from the VM ip 192.168.99.100
For previous windows user, assume 'default' to be 'kitematic'.
- Turn off your VM via the following terminal command
docker-machine stop docker-vm(Docker commands must be installed for this to work) - Open your VirtualBox app and go to your Preferences (app preferences, not VM settings)
- Click on Network, and Host-Only Networks tab
- You should see a few vboxnet entries, for each one do
- Click on vboxnet entry and then click on the screw-driver icon (edit)
- Click on DHCP Server tab
- On the selected vboxnet, check if
DHCP Serveris checked - if it is, check if theServer addressis:192.168.99.1- If NOT, just click Cancel and move on to the next one. - Write down which vboxnet0, vboxnet1, vboxnet2 (however many) has the proper setting of
DHCP serverchecked and aServer addressof192.168.99.1and cancel out of the Preferences - Select the 'default' VM
- Click Settings then Network
- Adapter 2 should be a Host-Only Adapter, and change its name to be the vboxnet you noted above.
- Click OK and close VirtualBox app
- In your terminal run:
docker-machine start default
If you were stuck at 99% you may need to regenerate the certs:
docker-machine regenerate-certs default- You can now start Kitematic and see it working :)
If none of you vboxnet have the proper setup, you can change the one that your VM uses to have the proper server address of 192.168.99.1
SSH Multiplexing
If you've enabled SSH Multiplexing, it might be the cause of this problem. As pointed out in this GitHub issue disabling multiplexing for localhost resolved the issue for some people.
Virtualbox seems to have a bug in Windows 10 and host-only adapter (mentioned above), a fix/patch exists at the following location: Windows host-only adapter creation fails due to slow background processing - The latest Windows 10 build is causing that the Virtualbox Host Only adapter, is not checking the "Virtualbox NDIS6 Bridged Networking Driver" so the default machine cannot start properly.
Another possible fix is to enable Virtualization in the Bios - thanks to @SkiftCreative for the tip:
- In windows 8/10 you can get there by clicking the power menu, holding [SHIFT] then hitting restart.
- Keeping [SHIFT] held until the screen changes
- Go into advanced settings, then change EUFI settings (were not changing those settings, were just getting into BIOS).
- Once in BIOS enable virtualization, then save and restart.
MS Edge can't see website:
Go to Start, type "Internet Options" then then the Security Tab, then click Local Intranet, then Sites. Add your Virtual Machine's IP (in this case, the Docker Host) in that list and you're golden.
thanks to http://www.hanselman.com/blog/FixedMicrosoftEdgeCantSeeOrOpenVirtualBoxhostedLocalWebSites.aspx
In certain cases, the network driver can be disabled by some windows updates. Following the above steps to get to networking and Enabling "Virtualbox NDIS6 Bridget Networking Driver" seems to solve most of these issues. If the networking driver was disabled, VirtualBox should work just fine now (no reboot needed). Otherwise repeat for every network adapter you have (Ethernet, WiFi...) and always uncheck the NDIS6 checkbox -> apply -> check it again -> apply.
If you're a new user, you will need to verify your Dockerhub email address before installing images will work.
See Issue #789.
This could be a simple DNS issue, try the following:
- Click on the Docker CLI button

- Type in
docker-machine ssh default - From the terminal prompt, type in
echo "nameserver 8.8.8.8" > /etc/resolv.conf
Thanks to @kriscarle for the steps:
-
In a terminal, run
docker-machine rm defaultin order to remove the existing VM -
Go into VirtualBox preferences and remove the host-only network. (steps shown above)
-
In a terminal, run
docker-machine create --driver virtualbox --virtualbox-hostonly-cidr "192.168.59.1/24" default- This will create the VM on a different subnet (192.168.59.1/24is used as an example but any valid subnet will work.)
Move to: Common Proxy issues & Fixes
By default the VM is created with 20GB of disk space. If you would like to create a VM with more disk space, the following command will do just that and create a 100GB VM:
docker-machine -D create -d virtualbox --virtualbox-disk-size "100000" default
