On this page
Help Center/ CodeArts Deploy/ FAQs/ Custom Application Actions/ Running Docker Commands/ start, restart, stop, or rm Command Execution Failed

start, restart, stop, or rm Command Execution Failed

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

Symptom 1

After you add the deployment action Run Docker Command and set Command to start, restart, stop, or rm, the error message ...No such container... is displayed.

Cause Analysis

The container does not exist.

Solution

Check whether the entered container name or ID is correct. If not, enter the correct container name or ID and perform the deployment again.

Symptom 2

The result shows that the deployment is successful, but the start, stop, or restart operation fails.

Cause Analysis

The container configuration is incorrect, or the configuration file is damaged.

Solution

Check and modify the internal configuration file of the container based on the logs.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback