Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove implicit reliance on sudo rights #21

Closed
MitchellBerend opened this issue Oct 16, 2022 · 0 comments · Fixed by #22 or #24
Closed

Remove implicit reliance on sudo rights #21

MitchellBerend opened this issue Oct 16, 2022 · 0 comments · Fixed by #22 or #24

Comments

@MitchellBerend
Copy link
Owner

Currently docker-mananger prefixes all docker commands with a sudo call to ensure the user has the rights to execute docker commands. This relies on the fact that the user that the ssh connection is made with, has sudo rights and these rights are configured to work without a password.

The end user should be able to choose if sudo is prepended to the docker command. This would ideally be done with a simple flag like -s/--sudo or maybe -b/--become like in ansible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant