Error Message "file docker.service does not exist" or "docker.service failed because the control process exited" Is Displayed During the Installation of Debian 10

Symptom

When MindCluster Ascend Deployer is used to install a software package on Debian 10, the error message "file docker.service does not exist" or "docker.service failed because the control process exited" is displayed.

Cause Analysis

Docker installation stops unexpectedly, causing residual installation data.

Solution

  1. Run the which docker command to view the binary directory. As shown in the following figure, the directory is /usr/bin/docker.
    Figure 1 Viewing the binary directory
  2. Run the following command based on the queried binary directory.
    mv /usr/bin/docker /usr/bin/docker.bak            # Replace the first /usr/bin/docker in the command with the binary directory queried in step 1.
  3. Perform the installation again.