Answers for "wsl2 icmp_seq=165 Destination Host Unreachable after installing docker"

0

wsl2 icmp_seq=165 Destination Host Unreachable after installing docker

echo "Restarting WSL Service"
Restart-Service LxssManager
echo "Restarting Host Network Service"
Stop-Service -name "hns"
Start-Service -name "hns"
echo "Restarting Hyper-V adapters"
Get-NetAdapter -IncludeHidden | Where-Object `
    {$_.InterfaceDescription.StartsWith('Hyper-V Virtual Switch Extension Adapter')} `
    | Disable-NetAdapter -Confirm:$False
Get-NetAdapter -IncludeHidden | Where-Object `
    {$_.InterfaceDescription.StartsWith('Hyper-V Virtual Switch Extension Adapter')} `
    | Enable-NetAdapter -Confirm:$False
Posted by: Guest on May-27-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language