Installation of Docker for Windows Users
This is a step-by-step tutorial on how to install Docker on a Windows operating system. Docker is an open-source technology that allows you to create, run, test, and deploy distributed applications inside software containers.
Attention: The installation process will require a system restart. Ensure you've saved all your work before proceeding.
A computer running 64-bit Windows 10 Pro, Enterprise, or Education (Build 15063 or later), or Windows Server 2019.
Hardware-assisted virtualization and Second Level Address Translation (SLAT) must be enabled. (Let’s hope you have it enabled).
The Hyper-V feature and Containers feature must be enabled. (Let’s also hope you have it enabled).
Administrative access to your machine. (It’s the password).
Step 1: Download Docker Desktop for Windows
Navigate to the Docker Hub website at the following URL: https://hub.docker.com/editions/community/docker-ce-desktop-windows
Click on the "Get Docker" button to download the Docker Desktop for Windows installer.
Step 2: Install Docker Desktop on Windows
Navigate to your Downloads folder and double-click the Docker Desktop Installer.exe file you downloaded.
Follow the instructions in the installer, accept the license, authorize the installer, and proceed with the installation.
When prompted, authorize Docker Desktop Installer with your system password during the installation process.
Once done, you will see the following screen: continue without signing in,
Step 3: Verify the Docker Installation
Open the PowerShell.
Type the following command:
docker run hello-world. This command downloads a test image and runs it in a container. When the container runs, it prints an informational message and exits.
The output should look something like this:
Congratulations! If you witnessed the "Hello from Docker!" message, you've successfully installed Docker on your Windows machine. You're now ready to explore further, such as setting up RStudio.
Docker desktop requires a newer wsl kernel version on Windows.
Watch this video: https://www.youtube.com/watch?v=zvnFtNlD1eo
Or Just simply type the following command in the PowerShell
If you don’t fell confident on how to enable virtualization, please leave it; we will fix it for you later.