MEF Center Fails to Be Uninstalled

Symptom

MEF Center fails to be uninstalled, and an error message is displayed, indicating that the referenced image cannot be deleted. The following is an example:

delete ascend-nginx-manager's docker image command exec failed: Error response from daemon: conflict: unable to remove repository reference "ascend-nginx-manager:v1" (must force) - container xxxxxxxxx is using its referenced image xxxxxxxxx

Cause Analysis

After MEF Center is installed, a component image named ascend-Module name:tag (for example, ascend-cert-manager: v1) is generated. If a container that starts and uses the component image in a mode other than MEF Center exists during the uninstallation, the uninstallation fails.

Solution

Manually delete the container that occupies the image and uninstall MEF Center again.