Skip to content

podman

https://podman.io/

“Using cgroups-v1 which is deprecated in favor of cgroups-v2 with Podman v5 and will be removed in a future version.” when running Podman Desktop on WSL2

Section titled ““Using cgroups-v1 which is deprecated in favor of cgroups-v2 with Podman v5 and will be removed in a future version.” when running Podman Desktop on WSL2”
  1. Create or edit the file %UserProfile%\.wslconfig as follows:
    [wsl2]
    kernelCommandLine = cgroup_no_v1=all
  2. Shutdown WSL:
    Terminal window
    wsl --shutdown
  3. Click the Run button in the Dashboard of Podman Desktop to restart the WSL container with cgroups-v2.