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

Implement "setup" command for Docker installation via SSH #5

Open
jorgecar opened this issue Jun 6, 2023 · 0 comments · May be fixed by #6
Open

Implement "setup" command for Docker installation via SSH #5

jorgecar opened this issue Jun 6, 2023 · 0 comments · May be fixed by #6

Comments

@jorgecar
Copy link
Contributor

jorgecar commented Jun 6, 2023

The purpose of this issue is to implement the setup command, which will acquire a lock on the server to prevent concurrent operations and then proceed with the installation of Docker. This command will require root access via SSH to execute the necessary steps for Docker installation.

Acceptance Criteria:

  • Develop a server lock mechanism to acquire and release locks for exclusive access to the server.
  • Implement error handling to handle scenarios where the server lock cannot be acquired, providing informative messages for troubleshooting.
  • The "setup" command successfully detects the presence of Docker on the server.
  • If Docker is not installed, the command installs Docker using the appropriate package manager via SSH.
  • The command provides clear feedback and error messages when encountering issues during installation.
  • Release the server lock upon completion or in case of any errors during the installation process.

Note: This implementation requires careful handling of root access and SSH connections for security purposes.

@jorgecar jorgecar linked a pull request Jun 6, 2023 that will close this issue
8 tasks
@jorgecar jorgecar linked a pull request Jun 6, 2023 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant