First, download the latest version of Docker Toolbox as an executable file with the “.exe” extension from the website https://github.com/docker-archive/toolbox/releases. Usually, this file is listed under the “Assets” section at the top and has a file name that looks something like this, depending on the version: “DockerToolbox-xx.xx.x.exe”. Click on the filename to download the file.
In the download area of your internet browser, the file is now displayed and can be opened and thus installed with one click. Often Windows asks at this point again whether you want to install and make changes to the device. Answer this inquiry with a click on “Yes”.
The “Setup Wizard” of Docker Toolbox just welcomes you. Feel free to click away the checkmark at “Help Docker improve Toolbox” before clicking “Next >” to start the installation. The following dialog-boxes concerning the file location (Destination Location), the component selection (Select Components) and additional tasks (Additional Tasks) can be accepted with “Next >” and the default settings. In the “Ready to Install” dialog that then appears, click on “Install” to begin the Docker Toolbox installation.
If, during or after the installation, Windows Security still asks in a dialog-box whether device software should still be installed, this required software installation should be confirmed by clicking on “Install”.
After clicking on “Finish” in the final setup box of Docker Toolbox, the file explorer then appears and double-clicking on “Docker Quickstart Terminal” then starts Docker Toolbox in a separate window. If you now enter “docker” in the command line once as a test, all possible Docker commands will be listed for them.
Now some final Windows settings have to be adjusted. To do this, start the “Oracle VM VirtualBox” (the icon should now be on your desktop) by double-clicking on it. In the left area of the VirtualBox software there is a “default” task with the note “running”. Click on it with the right mouse button and select “Change” from the menu that appears. A dialog “default – settings” opens. Click here in the left area on “Network” and in the then appearing area on the right on “Advanced”. Then an info area appears with a button “Port forwarding”. Please click on it here to set it up.
In the “Rule for port forwarding” box, there should already be an entry for Name “ssh” with the entries Protocol “TCP”, Host IP “127.0.0.1”, Host port “54527” and Guest port “22”. The entry at guest IP is empty. If this entry is not available, please add it by clicking on the Add icon in the upper right corner of this window. Subsequent entries may also have to be added by clicking on the add symbol:
Name: Flask / Protocol: TCP / Host port: 5000 / Guest port: 5000
Name: Web / Protocol: TCP / Host port: 8000 / Guest port: 8000
Name: Web1 / Protocol: TCP / Host port: 8080 / Guest port: 8080
Name: Web2 / Protocol: TCP / Host port: 8081 / Guest port: 8081
Name: Pyspark / Protocol: TCP / Host port: 8888 / Guest port: 8888
Name: sql / Protocol: TCP / Host port: 5433 / Guest port: 5433
Now click twice on the “OK” buttons that appear and the setup is complete!