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

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

Symptom 1

After you add the deployment action Run Docker Command and set Command to push, the error message ...An image does not exist locally with the tag... is displayed.

Cause Analysis

The image to be pushed does not exist on the local host.

Solution

Check that the entered image information is correct, and push the image again.

Symptom 2

After you add the deployment action Run Docker Command and set Command to push, an error message is displayed, indicating that the authentication failed.

Cause Analysis

You have logged out of the remote image repository and cannot push images.

Solution

Run the login command to log in to the remote image repository and push the image again.