01. WSL2 / Docker Setup

— Build an OpenLane Foundation That Never Breaks —


1. Purpose of This Chapter (Critical)

The purpose of this chapter is not to “install Linux”.

The real goals are:

In short:

Create a WSL2 environment that is reproducible, portable, and failure-resistant.

This foundation determines whether OpenLane remains usable long-term.


2. Prerequisites

You must have:

For Lenovo systems, confirm in BIOS:

Virtualization Technology = Enabled

If virtualization is disabled, stop here.


3. Enable WSL2

3.1 Install WSL

Open PowerShell as Administrator and run:

wsl --install
wsl --set-default-version 2

⚠️ Do NOT install Ubuntu yet.
This guide relies on importing a verified environment later.


3.2 Mandatory Reboot

After enabling WSL:

Reboot Windows immediately.

Skipping this step causes subtle Docker and filesystem failures.


4. Verify WSL State

After reboot, open PowerShell and run:

wsl -l -v

Expected output:

NAME      STATE    VERSION
Ubuntu    Stopped  2

If VERSION is not 2, fix this before proceeding.


5. Install Docker Desktop

5.1 Docker Desktop Installation


5.2 Mandatory Docker Configuration

Open Docker Desktop and verify:

Settings → General

Settings → Resources → WSL Integration

If WSL integration is disabled, OpenLane will not run.


6. Verify Docker Operation

From PowerShell or WSL:

docker --version
docker run --rm hello-world

Successful output:

Hello from Docker!
This message shows that your installation appears to be working correctly.

If this fails, do not continue.


7. Non-Negotiable WSL Rules

Breaking any rule below guarantees failure.

Required Rules


Forbidden Actions

These destroy reproducibility and performance.


8. Completion Criteria

You may proceed only if:

This state is the bedrock of a reliable OpenLane environment.


9. Next Step

Next, we install OpenLane1 — not to chase updates,
but to freeze a known-good configuration.

➡️ Next: 02_OpenLane1_Setup.md