microsoft / microsoft/Windows-Containers

Uninstall docker leaves executables.

Open
#648 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug triage
Dominant language
PowerShell
Stars
551
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Please fill out all the sections below for bug issues, otherwise it'll be closed as it won't be actionable for us to address.

Describe the bug
Uninstall docker leaves executables from the current installer script.
The current installer script puts them in program files.

To Reproduce
Steps to reproduce the behavior:
Use the install script
Use the uninstall script.

Expected behavior
A clear and concise description of what you expected to happen.
Uninstall script should match current installer.
Uninstall script should probably remove system32 files only after a confirmation,

Configuration:

  • Edition: Window 2022
  • Base Image being used: none
  • Container engine: Windows
  • Container Engine version 29

Additional context
Add any other context about the problem here.

Docker service removed successfully.
Removing Docker registry keys...
Registry key removed: HKLM:\SYSTEM\CurrentControlSet\Services\EventLog\Application\docker
Removing Docker binaries...
docker.exe not found in System32.
dockerd.exe not found in System32.
Removing Docker data directory...
Stopping additional Windows Container services...
Checking for lingering containers and compute processes...
Attempting standard removal of remaining windowsfilter contents...
Docker data directory removed.
Removing Docker download files...
Docker download files removed.

Docker CE uninstallation completed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the current Docker installer and uninstaller scripts, then reproduce the issue on Windows Server 2022 using the reported install and uninstall steps. Compare the paths handled by both scripts, including Program Files and System32. Done means uninstall removes the executables installed by the current installer and confirms before removing System32 files.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, powershell
Domain
devops, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.