Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save EngKhaledB/35bc5ad1bfa17bb5b9d8c6815e783d1a to your computer and use it in GitHub Desktop.
Save EngKhaledB/35bc5ad1bfa17bb5b9d8c6815e783d1a to your computer and use it in GitHub Desktop.
To restore the deleted Hyper-V MobyLinuxVM machine of Docker on windows.

1- Exit the docker application

2- Open Power Shell as administrator

3- Run this command Stop-Service com.docker.service

4- Run this command cd 'C:\Program Files\Docker\Docker\resources'

5- Run This command -ExecutionPolicy ByPass -File .\MobyLinux.ps1 -Destroy

6- Run This command -ExecutionPolicy ByPass -File .\MobyLinux.ps1 -Create

Done :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment