How to Install Docker on Windows 11: A Step-by-Step Guide

Installing Docker on Windows 11: The Not-So-Sweet Adventure

Alright, here’s the crack: getting Docker up and running on Windows 11 can feel like a bit of a reckon with potential tech headaches. If you’ve dabbled in tech forums or tuddled with BIOS settings before, you’re probably a leg ahead. But even if you’re a newbie, it can still be a bit of a chore. Once you get stuck into it, though, managing containers can be dead easy—fingers crossed your machine’s not throwing a tanty.

Checking System Requirements

Before you dive in, there’s a bit of prep needed. Docker Desktop doesn’t just work on any old Windows 11 rig. You’ll need Windows 11, the WSL 2 backend (that’s Windows Subsystem for Linux 2, in case you’re wondering), and virtualization has to be turned on in your BIOS. Not keen on mucking around in BIOS? Might be tempted to skip it, but without these sorted, Docker will have a moan trying to run its Linux containers.

Getting into BIOS usually means smashing the Delete or F2 key straight after turning on your PC—good luck nailing it on your first go. Once in there, you’ll need to navigate to the virtualization setting, which often hangs out under menus like Security or Advanced. Flip that on, save your settings, and reboot. Cross everything you’ve got and hope for the best.

Enabling Hardware Virtualization

  • Boot into BIOS during startup (Delete or F2 usually do the trick).
  • Look for the Security or Advanced tab.
  • Find options like Intel VT-x, Intel Virtualization Technology, or AMD-V and switch them to Enabled.
  • Save your changes and get ready to restart.

Checking if Virtualization is Enabled

Once back in Windows, fire up Task Manager with Ctrl + Shift + Esc, then go to the Performance tab and click on CPU. You should see a line that says Virtualization: Enabled. If not, it’s back to BIOS land for another round.

Getting Docker Desktop

Next stop: the Docker website—just head to docker.com. Avoid those dodgy third-party sites; you don’t want any dodgy guests crashing your party. Once there, grab Docker Desktop. The good news? It’s free. Just download the latest version, because older ones can be flaky, and nobody’s got time for bugs.

Why the official site? Because safety first and it’s always got the latest updates. Once you’re in the container game, you’ll find bugs are just part of the journey.

Running the Installer

Now that you’ve downloaded it, give that installer a double-click—like it owes you money. You won’t need to mess around with too many settings here—just follow the prompts. You’ll likely agree to some terms of service and let it check if your system’s ready to roll. Sometimes, it’ll come back with a message saying your system’s not quite there. No worries—it happens more often than you’d like.

If your system ticks all the boxes, it might automatically install Hyper-V and WSL or ask you to enable them. Those features are usually off default, so you might get nudged to switch them on. If that’s the case, expect a quick reboot afterwards—that’s just part of the fun.

Enabling WSL 2 and the Virtual Machine Platform

To get Docker humming nicely, make sure WSL 2 is set up. Open PowerShell as an Admin by pressing Win + X and choosing Windows Terminal (Admin), then type in:

wsl --install

This gets WSL 2 and the default Linux distro sorted. Already had WSL? Just upgrade the default by typing:

wsl --set-default-version 2

Then, enable the necessary Windows features like so:

DISM /Online /Enable-Feature /FeatureName:VirtualMachinePlatform /All /NoRestart

DISM /Online /Enable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux /All /NoRestart

Run those commands, then reboot your PC—done and dusted.

Wrapping Up the Installation

Follow a few more prompts, let the installer do its thing, and take a breather—maybe crack open a cold one. It might take a few minutes, and sometimes other processes hogging system resources can cause a hassle. That’s just software being software.

If it suggests enabling Hyper-V, just roll with it. Later, you can double-check it’s on by going to Control Panel > Programs > Turn Windows features on or off and ticking Hyper-V.

Launching Docker Desktop

Once everything’s set, find Docker Desktop in your Start Menu, on the desktop, or in the system tray. Give it a moment to warm up; sometimes the first run can hang a tad or pop up a warning or two—more often than not, it’s just a hiccup in the virtualization or network settings. If all’s good, you’re in the club now!

If you prefer sneaky command line moves, you can test Docker with PowerShell or Command Prompt. Just run:

docker run hello-world

If it pulls down the container and shows you the hello message, you’re sorted. Cheers!

Yeah, getting Docker on Windows 11 can be a bit of a maze, but it’s doable with a bit of patience. Tweaking settings, a few restarts, and a bit of trial and error are all part of the ride. Once it’s all set up, you’ll be cracking open containers left, right, and centre—better testing, deploying, and managing all your apps.

And don’t forget—keeping Docker updated and checking your system specs every now and then makes life easier. If you hit a snag, just hang in there; the win’s worth it.


Just remember, mastering this might feel like putting together a tricky puzzle—frustrating at first, but ace when you see that Docker icon wink back at you in the system tray.