Installing Docker Toolbox

/ Comments off
  • Docker Tutorial
  1. Install Docker Toolbox On Windows
  • Docker Useful Resources
  • Selected Reading

Docker Toolbox is a good option but currently it seems like Docker for Mac/Windows is becoming better and Docker is investing a lot of time polishing the app. I recommend installing Docker mainly for 2 reasons: It doesn't interfere with Docker-Toolbox; It runs on HyperKit and therefor runs on you own localhost rather than a Docker Machine IP. To install Docker (after already installing WSL): Download Docker Desktop and follow the installation instructions. Once installed, start Docker Desktop from the Windows Start menu, then select the Docker icon from the hidden icons menu of your taskbar. Right-click the icon to display the Docker commands menu and select 'Settings'. Download Docker Toolbox and Docker Toolbox installation on windows 10 with installation prerequisites. Guide for Docker toolbox. Docker Desktop is an application for MacOS and Windows machines for the building and sharing of containerized applications and microservices.

Docker is a container management service. The keywords of Docker are develop, ship and run anywhere. The whole idea of Docker is for developers to easily develop applications, ship them into containers which can then be deployed anywhere.

The initial release of Docker was in March 2013 and since then, it has become the buzzword for modern world development, especially in the face of Agile-based projects.

Features of Docker

  • Docker has the ability to reduce the size of development by providing a smaller footprint of the operating system via containers.

  • With containers, it becomes easier for teams across different units, such as development, QA and Operations to work seamlessly across applications.

  • You can deploy Docker containers anywhere, on any physical and virtual machines and even on the cloud.

  • Since Docker containers are pretty lightweight, they are very easily scalable.

Components of Docker

Docker has the following components

  • Docker for Mac − It allows one to run Docker containers on the Mac OS.

  • Docker for Linux − It allows one to run Docker containers on the Linux OS.

  • Docker for Windows − It allows one to run Docker containers on the Windows OS.

  • Docker Engine − It is used for building Docker images and creating Docker containers.

  • Docker Hub − This is the registry which is used to host various Docker images.

  • Docker Compose − This is used to define applications using multiple Docker containers.

We will discuss all these components in detail in the subsequent chapters.

Install Docker Toolbox: Upon successful download, double click on the DockerToolbox.exe file, then you would see the below Setup Wizard. Click on the Next button. Then you will be prompted to provide the installation directory. If you would like to give another location, you can click on the Browse button. For now, I am leaving this as is.

The official site for Docker is https://www.docker.com/ The site has all information and documentation about the Docker software. It also has the download links for various operating systems.


Installing Docker on Windows is a fairly simple and straightforward process. It is very well documented here. However if you have Hyper-V installed as I do, the instructions will not work right out of the box. If you try to start the Docker Quickstart Terminal, you’ll get the following error message:

The issue is that when you run the terminal the very first time, the startup script attempts to create the default virtual machine in which the docker containers will run. This step of the process fails if you have Hyper-V installed, even if it is disabled. In my case, I do have it installed but I have a boot option set up to disable it when I am not using it. This post describes how to change the Docker startup script to allow you to create the default virtual machine using the startup script and still keep Hyper-V installed.

Installing Docker Toolbox

Before you start with the installation of Docker, I would suggest disabling Hyper-V. If you don’t know how to do this, follow these instructions. Once you have disabled Hyper-V, the first step is to install Docker using the installer for Windows. The installation should run without any issues before you proceed with the next steps.

Once you have installed Docker, we’ll modify the startup file to allow it to create the default VM. The file we want to modify is located under C:Program FilesDocker Toolbox and is called called start.sh. To modify the file you’ll have to open the file in an editor running as Administrator. If you don’t open an elevated editor, you won’t be able to save your changes.

It’s now time to edit the file, but before you do so, you may want to save a copy of the original file. Just in case. In your editor, locate the following code snippet:

The second to last line is where the vm is created:

You will need to modify that line and add the –virtualbox-no-vtx-check switch to. The end result is that the line will look like this:

Install Docker Toolbox On Windows

Save your changes and now you should be able to run the quickstart terminal without any issues.