You can install Docker on Windows without WSL, but you’ll need to use Docker Toolbox, which runs Docker inside a lightweight VirtualBox VM. The most common mistake is assuming Docker Desktop is the only option; it requires WSL 2 or Hyper-V, so Toolbox is the workaround for older systems or when you can’t enable virtualization features.
This guide covers the Toolbox setup, what to check before you start, and how to manage the VM when you need Docker to start automatically.
Why Docker Desktop Needs WSL, and What Toolbox Does Instead
Docker Desktop for Windows uses WSL 2 for the Linux kernel that containers need. If your machine can’t run WSL (e.g., Windows 10 Home before version 2004, or an older CPU without SLAT), the installer will fail. Docker Toolbox sidesteps this by bundling a complete Linux VM via VirtualBox, so Docker commands run inside that VM.
Toolbox is officially deprecated and receives no updates, so only use it if you cannot enable WSL 2 or Hyper-V. If you can update Windows or turn on those features, Docker Desktop is the better choice for security and performance.
Check Before You Install: Virtualization and BIOS Settings
Toolbox still needs hardware virtualization (VT-x/AMD-V) to run VirtualBox. To verify it’s enabled:
- Open Task Manager (Ctrl+Shift+Esc) and go to the Performance tab.
- Look at the CPU section – it should say “Virtualization: Enabled”.
- If it says Disabled, restart your PC, enter BIOS/UEFI (usually F2, F10, or Del during boot), find the virtualization setting (often called Intel VT-x, AMD-V, or SVM Mode), enable it, save and exit.
Once that’s done, download the Docker Toolbox installer from the official Docker GitHub repository (search “docker toolbox github releases”). The installer will also install Oracle VirtualBox if you don’t have it.
Installing Docker Toolbox Step by Step
Run the installer as Administrator. Accept the default components – it will install Docker CLI, Docker Compose, Docker Machine, Kitematic, and VirtualBox. Choose the default installation path (usually C:\Program Files\Docker Toolbox).
After installation, you’ll get three shortcuts on your desktop:
- Docker Quickstart Terminal – starts the VM and opens a shell with Docker ready.
- Kitematic – a GUI for managing containers.
- Oracle VM VirtualBox – the VM manager.
Double-click Docker Quickstart Terminal. The first launch creates a VM named “default” with 1 GB RAM and a 20 GB virtual disk. This takes a few minutes. Once it finishes, you’ll see a shell prompt where you can run docker --version to confirm it works.
What to Do If the Quickstart Terminal Fails
If the terminal opens but says “Docker is not running”, the VM didn’t start. Open VirtualBox, select the “default” VM, and click Start. Wait for the VM to finish booting (you’ll see a Linux login prompt – you don’t need to log in). Then close VirtualBox and run the Quickstart Terminal again.
If the VM shows an error about VT-x being unavailable, re-check your BIOS setting and make sure Hyper-V is off (Hyper-V conflicts with VirtualBox).
Using Docker After Installation: Commands and File Sharing
All Docker commands work the same as on Linux. For example, to run a test container:
docker run hello-world
This pulls a small image and prints a success message. To list running containers: docker ps. To stop one: docker stop <container-id>.
File sharing works differently than Docker Desktop. Your Windows drives are mounted inside the VM at /c/Users/... (note the lowercase letter and forward slashes). For example, your C:\Users\YourName\project folder appears as /c/Users/YourName/project inside the Docker shell. When you use docker run -v to mount a folder, use that Linux-style path.
Port Forwarding for Web Apps
If you run a web server in a container (e.g., docker run -p 8080:80 nginx), you can’t access it at localhost:8080 directly. Instead, find the VM’s IP address by running docker-machine ip default in the Quickstart Terminal. It will print something like 192.168.99.100. Open your browser to http://192.168.99.100:8080.
Starting Docker Automatically at Boot
By default, Docker Toolbox doesn’t start the VM when Windows boots. To make it start automatically:
- Open Task Scheduler (search “Task Scheduler” in Start).
- Click Create Task on the right.
- Under the General tab, name it “Docker Toolbox VM” and check “Run with highest privileges”.
- Under Triggers, click New, set “Begin the task” to “At log on”, and click OK.
- Under Actions, click New, set “Program/script” to
C:\Program Files\Oracle\VirtualBox\VBoxManage.exe(adjust if VirtualBox is installed elsewhere). - In “Add arguments”, type:
startvm default --type headless - Click OK to save. Now the VM starts silently in the background when you log in.
After that, to use Docker, open a regular Command Prompt or PowerShell and run docker-machine env default – it will print commands to set environment variables. Copy and paste those into the same window, then docker ps will work.
Limitations and When to Switch to Docker Desktop
Toolbox has real constraints you should know:
- No native Windows containers – it only runs Linux containers.
- Older Docker version – the bundled Docker is from 2019, so newer features (like BuildKit by default) are missing.
- Slower file I/O – mounting large folders from Windows into the VM is slower than Docker Desktop’s bind mounts.
- No Kubernetes – Docker Desktop includes a single-node Kubernetes cluster; Toolbox does not.
If your machine can run WSL 2 (Windows 10 version 2004 or later, or Windows 11), switch to Docker Desktop. Install WSL 2 first with wsl --install in an admin PowerShell, then download Docker Desktop and enable the WSL 2 backend during setup. That gives you current Docker, better performance, and official support.
If you’re stuck with Toolbox, keep the VM’s virtual disk small (the default 20 GB is fine) and back up your docker-compose.yml files – the VM itself can be recreated easily if it corrupts.