Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page
Help Center/ CodeArts Deploy/ FAQs/ Custom Application Actions/ Installing/Uninstalling Docker/ Error Returned During the Deployment of the Action for Installing or Uninstalling Docker as a Common User

Error Returned During the Deployment of the Action for Installing or Uninstalling Docker as a Common User

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

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.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback