Setting Up Docker

 Using Docker can be a piece of cake, but the set up requires a bit of help.

THE SETUP

As with all other applications, first, the download is necessary.

With Docker, the download depends on which version of Windows you have.

The application can be downloaded from the Docker website. 

If you have an older edition of Windows (even if the version is 10), it is better to download the Docker Toolbox Setup from the Docker website.

After you have downloaded and installed Docker, (in this case Docker Toolbox), open the Docker Quickstart Terminal and let it run through the initial setup process.

If after running the setup, you are left with a ASCII Docker icon in your terminal window, the setup is complete!

However, if you are left with an error message as follows:

Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"

This means that Virtualization has not been enabled on your PC. 

This can be verified by opening your Command Prompt and entering the following command:

systeminfo.exe

This command will display the System Information of your PC and at the end of the information list the following information will be displayed:


In this, if "Virtualization Enabled in Firmware" is "No" unlike in the figure above, it is necessary to enable it.

This can be enabled through the BIOS setup.

To enable Virtualization, you can take the following steps;

1. Close all the open windows on your system.
2. Open System Setting from the Start menu


3. Navigate to Update and Security

4. In this dialog box, navigate to Recovery -> Advanced Start Up -> Restart Now


This will restart your PC and navigate to a settings screen.

5. With the arrow keys and enter key, select the Troubleshoot option.

6. From the next screen, select Advanced Options.

7. From those options, select UEFI Firmware Settings.

8. Select Restart.

9. From the next screen, select the option that says BIOS Setup, which is generally done with the F10 key. Follow the options on the screen.

10. When it has navigated to the BIOS Setup, with the arrow keys, move down until you find the option that says Virtualization Technology.

11. Once you have found that option, from the options, select the Enable option.

12. Once it has been enabled, select the option for Save and Exit, which is usually F10. The options appear on the bottom of the screen.

Make sure to Save and Exit so that you can save all the changes made to the setup.

After you have selected this option, the PC will restart automatically.

Once the system powers on, you can check the systeminfo.exe for the Virtualization settings and confirm whether it was successfully enabled.

Open the Docker Quickstart Terminal once that is completed.

After it has been enabled, the setup will be completed with the docker logo as follows;



Now you have successfully set up Docker, which you can confirm by running the 

docker version

command in the Docker terminal or any other terminal window on your PC.


Happy Containing!













Comments

Popular Posts