OneBite.Dev - Coding blog in a bite size

install docker on windows 10

Simple docker step by step how to install docker on windows 10 with explanation

Docker is a popular tool used by developers to create, deploy, and run applications in an isolated environment. Here is a simple step-by-step guide to install Docker on Windows 10.

Prerequisites

Before you begin, ensure your system meets the following criteria:

  • Your device supports virtualization and it is enabled.
  • You are using a 64-bit windows 10 pro version. If you are using any other version, Docker Toolbox could be an alternative option.

Step 1: Download Docker Installer

The first step is to download the Docker installer.

Go to Docker’s official website and navigate to ‘Get Docker’ page. Look for Docker Desktop for Windows and click on “Get Docker Desktop for Windows” to download the installer.

Step 2: Start the Installation

Once the installer is downloaded, find the file and double-click on it to run the Docker Desktop Installer. This will start the installation process.

Step 3: Follow the Prompts

On the installer window, you will be presented with different prompts. Accept the terms and conditions, leave the ‘Enable Hyper-V Windows Features’ option checked, and then click on “Okay” to proceed.

Step 4: Restart Your System

Once the installation is complete, you will be prompted to restart your system. It’s a necessary step to finalize the Docker installation.

Step 5: Complete the Docker Desktop Installation

After your system restarts, Docker will complete the rest of the installation automatically. When it’s done, you’ll see a welcome tutorial when you open Docker for the first time.

Step 6: Verify the Installation

To verify that the installation was successful, open a Command Prompt window and run the command: docker run hello-world. This command downloads a test image and runs it in a container. If Docker is installed and properly functioning, you should see a “Hello from Docker!” message.

Step 7: Get Started with Docker

You are now ready to use Docker! Start using Docker commands, create your own images, and manage your containers.

Remember, practice is the key to master Docker. Starting from simple containers, gradually increase the complexity of your projects to enhance your skills. Happy Docking!

docker