Skip to content
Menu
vAndu
  • Home
  • Home Lab
  • AI/ML & vGPU
  • Snapshot
  • The Lab Floor
vAndu
Part 0a: Setting Up Windows (WSL, Ubuntu, and Docker)

Part 0a: Setting Up Windows (WSL, Ubuntu, and Docker)

Posted on June 3, 2026June 3, 2026

Who this is for

This guide gets a Windows machine ready to run the rest of the stack. You will install WSL (a way to run real Linux inside Windows), the Ubuntu Linux system, and Docker Desktop. After this you can follow any tool guide in the series.

You only do this once.

Step 1: Install WSL and Ubuntu

WSL stands for Windows Subsystem for Linux. It lets you run Ubuntu inside Windows with no virtual machine and no dual boot.

  1. Click Start, type PowerShell, right click it, and choose Run as administrator.
  2. Run this single command:
wsl --install

This turns on WSL, installs the newer WSL2 engine, and installs Ubuntu for you.

  1. Restart your computer when it asks.
  2. After the restart, an Ubuntu window opens and asks you to create a username and password. This is your Linux login. Pick something you will remember. The password stays invisible as you type, which is normal.

To confirm it worked, open PowerShell and run:

wsl -l -v

You should see Ubuntu listed with VERSION 2.

Step 2: Update Ubuntu

Open Ubuntu from the Start menu and run:

sudo apt update && sudo apt upgrade -y

This brings the system up to date. Enter your Linux password when asked.

Step 3: Install Docker Desktop

Docker is what runs all the tools in this series as containers.

  1. Go to docker.com and download Docker Desktop for Windows.
  2. Run the installer. Leave the option to use WSL2 turned on, which is the default.
  3. Start Docker Desktop after it installs and accept the terms.
  4. Open Docker Desktop settings, go to Resources, then WSL Integration, and turn on integration for your Ubuntu distribution. This is what makes the docker command work inside Ubuntu.
  5. Apply and restart Docker Desktop.

Step 4: Check that Docker works

Open your Ubuntu terminal and run:

docker run hello-world

If you see a friendly hello message, Docker is working from inside Ubuntu.

Step 5 (only if you have an NVIDIA GPU)

If you want your models to run on an NVIDIA graphics card, install the latest NVIDIA driver for Windows from nvidia.com. The Windows driver already includes the support that lets WSL and Docker use the GPU, so you do not need to install CUDA inside Ubuntu.

Check that Docker can see the card:

docker run --rm --gpus all ubuntu nvidia-smi

If a table appears showing your GPU, you are ready. If you get a driver error, update the Windows NVIDIA driver and restart.

You are done

Your Windows machine now runs Ubuntu and Docker. From here, open any tool guide in this series and follow it inside the Ubuntu terminal.

Home Labber who likes to build things and push it to the limits. vSphere is like Lego for adults.

“The fastest way to learn IT is 80% labbing and 20% studying theory. Just do it and have fun.” – vAndu

“If you wish to achieve worthwhile things in your personal and career life, you must become a worthwhile person in your own self-development” – Brian Tracy

VMware vExpert 2023
VMware vExpert NSX
VMware vExpert Pro
©2026 vAndu | Powered by SuperbThemes!