Help Center/ CodeArts Deploy/ FAQs/ Command Execution for Deployment Actions/ Running Docker Commands/ What Should I Do If the run Command Fails to Be Executed?
Updated on 2025-05-16 GMT+08:00

What Should I Do If the run Command Fails to Be Executed?

Symptom 1

When you add the deployment action Run Docker Command and set Command to run, the operation does not stop until it fails.

Cause Analysis

The parameters set on the page are not specified to run in the background.

Solution

Add -d in the parameters to run the run command in the background.

Symptom 2

During the deployment of the run command in the action Run Docker Command, the error message Unable to find image * locally is displayed.

Cause Analysis

The local image does not exist.

Solution

Check that the image name and tag are correct, and run the image again.