Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
Redmond desk6 min

Turn Your Windows PC into a Linux and FreeBSD Learning Lab with WSL2 and Incus

Run Incus inside a WSL2 Linux distribution to practice Linux administration in containers and use a VM for FreeBSD.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Yes: run Linux under WSL2, install the Incus server inside that Linux distribution, then use Incus system containers to practice Linux administration and Incus virtual machines to try FreeBSD. Incus itself does not run as a Windows server: its daemon works only on Linux, while its Windows build is a client. This setup is a layered virtualized lab, so hardware virtualization, suitable Windows features, and enough resources for the guests you choose all matter.

Can I use WSL2 and Incus on Windows?

Yes. The architecture is Windows as the host, a Linux distribution running with WSL2, and the Incus daemon running inside that Linux distribution. Microsoft describes WSL2 as using virtualization support; Incus states that its daemon only works on Linux. The Incus Windows client can administer an Incus server, but it does not replace the Linux server in this local setup. See Microsoft’s WSL FAQ and the Incus installation guide.

This arrangement lets one Windows PC host multiple Linux environments and a separate-kernel guest such as FreeBSD. It also adds layers: Windows runs WSL2, and Incus then manages instances within the WSL Linux environment. Treat this as a learning lab rather than a guarantee of identical performance or behavior to a dedicated Linux host.

What runs in a container, and what needs a VM?

Incus manages both system containers and virtual machines as instances, but they are not interchangeable. A system container is useful for practicing Linux distribution administration while sharing the host Linux kernel. A VM has its own guest kernel and is the appropriate choice when the lesson involves a different operating system kernel, including FreeBSD.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Incus instance Kernel model Good fit for this lab
Linux system container Shares the Linux kernel of the Incus host environment. Practicing Linux distributions, users, packages, services, filesystems, and networking without booting a separate guest kernel.
Virtual machine Runs a guest operating system with its own kernel. Practicing kernel-level behavior or running another OS, including FreeBSD.

Incus documents FreeBSD as a VM guest and provides an ISO-based VM creation path. Identify the guest as FreeBSD when following that procedure so Incus can apply its documented FreeBSD-specific behavior. An Incus Linux container is not a way to run the FreeBSD kernel. FreeBSD can also host its own hypervisor through bhyve, but that is a different design from hosting Incus inside Linux on WSL2. Consult the Incus instance guide and the FreeBSD Handbook.

What do I need before installing the lab?

  • Supported Windows and WSL: Microsoft documents wsl --install for Windows 10 version 2004 (Build 19041) or later, and Windows 11. WSL2 requires the Virtual Machine Platform and hardware virtualization capabilities. See Microsoft’s WSL installation guide and WSL FAQ.
  • Virtualization enabled: Confirm virtualization support is enabled for the machine. If Windows itself runs inside a virtual machine, the parent hypervisor must expose nested virtualization for WSL2 to work. Microsoft explains the requirement in its Hyper-V nested virtualization guide.
  • A Linux distribution for the Incus server: Incus server installation is inside Linux, and package availability depends on the distribution. Its documentation distinguishes the 6.0 LTS branch from the 6.x feature branch; choose the branch and installation instructions appropriate to your preference for stability or newer features.
  • Service management as needed: Recent WSL versions support systemd, but a distribution may need it enabled. Check Microsoft’s systemd instructions for WSL and the distribution’s requirements before relying on systemd-managed services.
  • Room for the workloads you choose: There is no single RAM, CPU, or disk minimum established for this combined setup. Resource use depends on which guests run at once and what you do in them; nested virtualization also adds overhead.

How do I install WSL2 and prepare Linux?

  1. Open an elevated Windows terminal and run wsl --install. Microsoft says this enables WSL and Virtual Machine Platform, installs the Linux kernel, sets WSL2 as the default, and installs Ubuntu by default. Restart Windows if prompted. If you want another supported distribution, use the distribution-specific installation option documented by Microsoft.
  2. Check the installed distribution’s WSL version using wsl -l -v. Confirm the distribution shows version 2. If it does not, consult Microsoft’s WSL installation guidance for the relevant conversion or setup steps.
  3. Start the Linux distribution and complete its initial user setup. Before adding Incus, get comfortable with the shell, packages, users, services, filesystems, and basic networking; these are the skills the lab will exercise repeatedly.
  4. If the distribution needs systemd, edit /etc/wsl.conf to include [boot] and systemd=true. Then shut down WSL and restart the distribution so the setting takes effect. Use Microsoft’s systemd instructions for WSL for version and configuration details.

How do I install Incus inside WSL?

Install Incus in the Linux distribution using the official instructions for that distribution, then initialize the Incus server as directed by the guide. Exact package names and setup steps vary by Linux distribution, so use the current Incus installation guide rather than assuming a command for one distribution applies to another. Select either the 6.0 LTS branch or the 6.x feature branch deliberately. You can run Incus commands from the Linux shell; using a Windows Incus client is optional for this local arrangement.

If Incus fails to start, first check whether the Linux distribution has the service-management support its installation expects. Confirm systemd configuration and restart WSL if you changed /etc/wsl.conf. If the Windows host is itself virtualized, confirm nested virtualization is enabled by the parent hypervisor.

How do I create a Linux container and a FreeBSD VM?

Start with a Linux system container

Use the Incus instance workflow to launch a Linux system container from an available image, then practice routine administration inside it: create users, install and update packages, manage services, inspect filesystems, and test network access. Because the container shares the Incus host’s Linux kernel, it is suited to distribution-level administration rather than learning a distinct kernel.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Create FreeBSD as a VM

Follow Incus’s documented VM and ISO workflow, using a FreeBSD installation ISO and identifying the guest as FreeBSD in the instance configuration. Complete the FreeBSD installer in the VM console, then use the resulting guest for operating-system and kernel-level exercises. The precise commands and image or ISO details belong to the version-specific Incus instance instructions; follow the current instance guide.

After both guest types work, use the lab to explore instance lifecycle, snapshots, storage, networking, and backups. Keep experiments isolated from important data and verify a backup by restoring it, not simply by confirming that a backup file exists.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How does WSL networking affect Incus guests?

Networking behavior depends on the WSL mode and Windows version. In the default virtualized networking model, the Linux distribution may have an IP address different from Windows. Windows 11 version 22H2 and later also supports mirrored networking, which uses a different network architecture and can improve VPN compatibility and localhost access. See Microsoft’s WSL networking guide and WSL FAQ.

Networking mode Windows support What to account for
Default virtualized networking WSL2 default model The Linux distribution may have a different IP address from Windows. Access to services and inbound connections may require attention to the Windows and Hyper-V firewall rules.
Mirrored networking Windows 11 version 22H2 and later Provides a different networking architecture; Microsoft notes improved VPN compatibility and localhost access. Firewall rules still matter when exposing services.

Before trying to reach an Incus guest service from Windows or another device, determine the active WSL networking mode and check applicable firewall rules. Do not assume that a guest address or localhost behavior will be the same across modes.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What should I try first, and what can go wrong?

  • WSL remains on version 1: Check the distribution’s version with wsl -l -v and use Microsoft’s installation guidance to set up or convert it to WSL2.
  • WSL2 cannot start its virtual environment: Verify hardware virtualization and the Virtual Machine Platform are enabled. On a virtualized Windows desktop, check for nested virtualization support in the parent hypervisor.
  • Incus service does not start: Check the Linux distribution’s service-management requirements. If systemd is needed, configure it in /etc/wsl.conf and fully restart the WSL distribution.
  • A FreeBSD container is being considered: Use an Incus VM instead; the FreeBSD guest needs its own kernel.
  • A guest service is unreachable: Check whether WSL is using default or mirrored networking, then inspect Windows and Hyper-V firewall rules and the guest’s own service configuration.
  • Several guests feel slow: Reduce the number of concurrently running instances or their workload. The official guidance does not establish a universal resource allocation for this layered lab.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. Shenzhen desk3 min
    HONOR Expands Beyond Smartphones With Humanoid Robot RevealHONOR said it unveiled its first humanoid robot at MWC 2026 and named shopping assistance, workplace inspections, and supportive companionship as intended uses. Later Robotics D1 claims and a reported…
  2. Cupertino desk5 min
    Apple Unveils AirPods Max 2: The Upgrade That Should Have Happened Years AgoAirPods Max 2 adds H2-powered audio features and Apple claims up to 1.5× more effective ANC, but its design, Smart Case, and 20-hour battery rating are unchanged. Wired lossless audio…
  3. Cupertino desk4 min
    Apple’s OLED Touch MacBooks Are Coming—but the Dynamic Island Is the Real GambleApple has not announced an OLED touchscreen MacBook, but reports point to high-end models arriving in late 2026 or early 2027. The reported Mac Dynamic Island could be useful, but…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.