Last active
January 2, 2020 14:56
-
-
Save mowensoft/77b846821be13663c2b9e3a4723f4466 to your computer and use it in GitHub Desktop.
Restart Docker on Windows 10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run this from an elevated PowerShell prompt. | |
# Kill Docker Desktop | |
Get-Process | Where-Object {$_.ProcessName -match 'Docker Desktop'} | Stop-Process -Force | |
# Restart the Hyper-V Virtual Machine Management Service | |
Stop-Service 'vmms' | |
Start-Service 'vmms' | |
# Start Docker Desktop | |
& 'C:\Program Files\Docker\Docker\Docker Desktop.exe' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment