If you happen to have VirtualBox already running when you do this, you could see an error saying Failed to unload - (libkern/kext) kext is in use or retained (cannot unload). Once this is confirmed, you can reinstall VirtualBox with Homebrew by running brew cask reinstall virtualbox. You will get a warning that confirms this saying Warning: Cask 'virtualbox' is already installed. If you already have VirtualBox installed, start the installation as before with brew cask install virtualbox. In my case, I already had the non-Homebrew VirtualBox app installed which caused issues when trying to start minikube. Skip to step three if everything has worked to this point. VirtualBox lets you run virtual machines on your Mac (like running Windows inside macOS, except for a Kubernetes cluster.)
Run brew cask install virtualbox in your Terminal.
#How to install docker mac os x for mac#
Install VirtualBox for Mac using Homebrew. It lets us construct containers that will run in Kubernetes Pods. Docker is used to create, manage, and run our containers. You’ll also need Homebrew Cask, which you can install after Homebrew by running brew tap caskroom/cask in your Terminal. Homebrew is a package manager for the Mac. The only pre-requisite for this guide is that you have Homebrew installed. You will be guided through running and accessing a Kubernetes cluster on your local machine using the following tools: This is a step-by-step guide to installing and running Kubernetes on your Mac so that you can develop applications locally.