podman icon indicating copy to clipboard operation
podman copied to clipboard

User mode networking WSL instance is never removed

Open l0rd opened this issue 3 months ago • 3 comments

Issue Description

To support user-mode networking on WSL, a second WSL distribution is started (beyond the podman machine):

> podman machine init --user-mode-networking --now 
> wsl --list
podman-machine-default
podman-net-usermode

The problem is that the podman-net-usermode isn't removed after podman machine rm or podman machine reset and will be there forever until the user run wsl --unregister podman-net-usermode.

Steps to reproduce the issue

Steps to reproduce the issue

  1. podman machine init --provider=wsl --user-mode-networking --now
  2. podman machine stop && podman machine rm
  3. wsl -l

Describe the results you received

> podman machine ls
NAME        VM TYPE     CREATED     LAST UP     CPUS        MEMORY      DISK SIZE
> wsl --list
podman-net-usermode

Describe the results you expected

The podman-net-usermode WSL distribution should be removed when the machine is removed.

l0rd avatar Aug 12 '26 16:08 l0rd

Hi, I want to take this issue

Srujansa avatar Aug 12 '26 19:08 Srujansa

Hi, I want to take this issue

@Srujansa, please go ahead

l0rd avatar Aug 13 '26 07:08 l0rd

A friendly reminder that this issue had no activity for 30 days.

github-actions[bot] avatar Sep 19 '26 01:09 github-actions[bot]