Error Returned During the Deployment of the Action for Installing or Uninstalling Docker as a Common User
Symptoms
During the deployment of the action Install/Uninstall Docker, if you set Operation to Install Docker and select a host that belongs to a common user, an error message is displayed.
fatal: [***.***.***.***: FAILED! ={"changed": false, "module_stderr": "Shared connection to ***.***.***.***closed.\r\n", "module_stdout": "sudo: Password required\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
Cause Analysis
Docker must be installed as the root user or a user with the sudo permissions. A password is required when a common user runs commands with the sudo permissions. As a result, the deployment fails.
Solution
Install Docker as the root user or grant the password-free sudo permissions to the user.
Installing/Uninstalling Docker FAQs
- Error Returned During the Deployment of the Action for Installing or Uninstalling Docker as a Common User
- Error Returned Even Though the Action for Installing or Uninstalling Docker Is Successfully Deployed
- 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