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

Add -it to docker exec #2148

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Add -it to docker exec #2148

merged 1 commit into from
Sep 25, 2024

Conversation

nblock
Copy link
Contributor

@nblock nblock commented Sep 23, 2024

Some commands such as nodes delete require user interaction and they fail if -it is no supplied to docker exec. Use docker exec -it in documentation examples to also make them work in interactive commands.

See: #2147

  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

Some commands such as `nodes delete` require user interaction and they
fail if `-it` is no supplied to `docker exec`. Use `docker exec -it` in
documentation examples to also make them work in interactive commands.
Copy link
Collaborator

@ohdearaugustin ohdearaugustin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, good point that some commands need an interactive shell.

@kradalby kradalby merged commit e367454 into juanfont:main Sep 25, 2024
121 checks passed
@nblock nblock deleted the docker-it branch September 25, 2024 08:12
kradalby pushed a commit to kradalby/headscale that referenced this pull request Sep 30, 2024
Some commands such as `nodes delete` require user interaction and they
fail if `-it` is no supplied to `docker exec`. Use `docker exec -it` in
documentation examples to also make them work in interactive commands.
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 this pull request may close these issues.

3 participants