DockerHub Account (The repository for storing services is currently docker hub), therefore need credentials to authenticate to avoid rate limiting.m
Need to use a regex for validating current hostname (i.e. system name)
wsl --install wsl --update wsl --set-default-version 2
wsl sudo apt update wsl sudo apt upgrade -y
wsl echo -e "[boot]\nsystemd=true" | wsl sudo tee /etc/wsl.conf
wsl --shutdown
wsl sudo snap install microk8s --classic
wsl sudo microk8s status --wait-ready
wsl sudo microk8s kubectl get node -o wide
wsl hostname -I
sudo microk8s enable dns sudo microk8s enable ingress sudo microk8s enable metrics-server sudo microk8s enable registry sudo microk8s enable hostpath-storage sudo microk8s enable storage
mkdir %DRIVENAME%\wsl-backup wsl --export Ubuntu %DRIVENAME%\wsl-backup\ubuntu.tar
wsl --unregister Ubuntu
mkdir %DRIVENAME%\wsl
wsl --import Ubuntu %DRIVENAME%\wsl %DRIVENAME%\wsl-backup\ubuntu.tar
cd %userprofile%\AppData\Local\Microsoft\WindowsApps (on windows machine) ubuntu config --default-user (this is the username set when setting up Ubuntu VM)