Docker error “Powershell was not found in the path”

After installing “docker-machine” on my  Mac machine ( I followed the instructions given here) and tried to create my first machine using the following command

As you can see in the command output, there was an error “Powershell was not found in the path”

With the help of google, i figured out the “hyperv” driver is supposed to be used only on Microsoft Windows machines which supports Hyper-V . On Mac, you can use “Oracle VirtualBox” driver. You must install “Oracle VirtualBox” on your Mac machine first. Please find the installation instructions here and make sure your OS is supported. You can find the complete list of supported drivers for docker-machine here

Use the following command to create docker machine with Oracle VirtualBox driver.

This will create docker machine with name “MyDocker“.

As always, feel free to drop us a note if you have any queries or feedbacks using our comment form below. Always happy to help you 🙂

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *