Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.

On this page

rm Command Execution Failed

Updated on 2023-11-28 GMT+08:00

Symptoms

After you add the deployment action Run Docker Command and set Command to rm, the error message You cannot remove a running container is displayed.

Cause Analysis

The container to be deleted is running.

Solution

  • Run the stop command to stop the container and then delete the container.
  • Add the -f parameter to forcibly delete a running container using SIGKILL.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback