In the current era, Docker is an open source containerization platform, which is widely used in software development, deployment, testing and other aspects. But sometimes we need to remove it completely for various reasons. However, uninstalling Docker is not as simple and obvious as other software. This article will introduce how to completely and correctly uninstall Docker.
1. Windows 10 default method
This method can simply uninstall Docker, but it cannot be completely deleted. The remaining files and configurations left behind may have an impact on the system.
2. Use the PowerShell command
Get-Service *docker* | Stop-Service
Get-Service *docker* | Remove-Service
sc.exe delete docker
Get-AppxPackage -Name Docker.Docker* | Remove-AppxPackage
3. Manual uninstall
Find the Docker service in the task manager and terminate all its related processes .
Search and delete the following folders:
%ProgramFiles%\Docker\
%ProgramData%\Docker
%UserProfile%\.docker
Search and delete all Docker related keys in the registry.
Note: Be careful when deleting the registry.
4. Use Third-Party uninstall software
Third-party uninstall software can automatically scan and uninstall Docker, such as: IObit Uninstaller, Geek Uninstaller, etc. These tools can effectively scan and delete the residual garbage generated by Docker, but they also need to be used and operated with caution.
Summary
In Windows systems, uninstalling Docker is not as simple and visible as other software, but it can be completed effectively using PowerShell commands, manual uninstallation, Third-Party uninstallation software, etc. There are no absolutes in everything. Choose the most suitable method according to your own needs and abilities to achieve the purpose of completely uninstalling Docker.
The above is the detailed content of How to completely uninstall docker in win10. For more information, please follow other related articles on the PHP Chinese website!