rmi Command Execution Failed
Symptom 1
After you add the deployment action Run Docker Command and set Command to rmi, the error message image is referenced in multiple repositories is displayed.
Cause Analysis
The images indicated by image IDs belong to different repositories, or the image tags are different.
Solution
- Identify the image to be deleted using its name and tag, for example, 12.12.12.12/test/aaaa:v1.
- To delete all images related to an image ID, enter multiple groups of images in the execution parameters and separate them with spaces.
Symptom 2
After you add the deployment action Run Docker Command and set Command to rmi, the error message image is being used by running container is displayed.
Cause Analysis
The image to be deleted has been running and a container has been created using this image. The image cannot be deleted before the container is deleted.
Solution
Stop and delete the container, and then delete the image.
Running Docker Commands FAQs
- Docker Not Installed
- Docker Command Parameter Error
- No Deployment Permissions
- Image Does Not Exist
- login Command Execution Failed
- build Command Execution Failed
- tag Command Execution Failed
- push Command Execution Failed
- run Command Execution Failed
- start, restart, stop, or rm Command Execution Failed
- rmi Command Execution Failed
- pull Command Execution Failed
- rm Command Execution Failed
- Connection Timed Out
- Application Deployment Interruption
- Insufficient Permissions
- Parameters Contain Backslashes (\)
- No Host Exists in the Environment.
- Environment Does Not Exist.
- Failed to Deploy an Application on a Windows Host
- Error Occurs During Application Deployment with the sudo Privileges
- Deployment Blocked by Third-Party Antivirus Software
- Invalid Path
- A Network Error Occurs During Software Installation on CentOS
- A Network Error Occurs During Software Installation on Ubuntu OS
- Windows Path Not Allowed on a Linux Host
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more