Docker Community Forums

Share and learn in the Docker community.

DockerNAT Removal fails with Remove-NetNat

beta
docker

(Krystan Honour) #1

Expected behavior

I should be able to remove the DockerNAT, it hangs around and updates fail to work.

Actual behavior

Remove-NetNat : The requested operation is not supported.
At line:1 char:1

  • Remove-NetNat DockerNAT
  •   + CategoryInfo          : InvalidOperation: (MSFT_NetNat (InstanceID = "DockerNAT;0"):root/StandardCimv2/MSFT_NetN
     at) [Remove-NetNat], CimException
      + FullyQualifiedErrorId : Windows System Error 50,Remove-NetNat
    
    
    

Information

Steps to reproduce the behavior

  1. …Open up powershell (Admin or normal the result is the same)
  2. …Type Remove-NetNat DockerNAT

Receive error message.


(Fiberoptic) #2

Exact same error for me. Impossible to make Docker Beta work again. I tried everything : reinstall, reinitialize, downgrade, change DockerNAT name in .ps, but nothing work.