Upgrade WSL2 Ubuntu to 21.04

As it doesn’t work by default, first remove snapd:

sudo apt remove snapd

then do the upgrade which will succeed

sudo do-release-upgrade

proof:

Now I am able to install podman!

and in .bashrc: alias docker=podman.

No need to run heavy docker desktop distribution for Windows ;)


To contact me, send an email anytime or leave a comment below.