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

feat: add signal option to containerRestart #3898

Merged

Conversation

coderbirju
Copy link
Contributor

@coderbirju coderbirju commented Feb 19, 2025

Following up with signal option to containerRestart

@coderbirju coderbirju changed the title feat: add signal option to containerRestart[WIP] feat: add signal option to containerRestart Feb 19, 2025
@coderbirju
Copy link
Contributor Author

@AkihiroSuda @djdongjin PTAL when you get some time

Copy link
Member

@djdongjin djdongjin left a comment

Choose a reason for hiding this comment

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

LGTM thanks

@djdongjin djdongjin added this to the v2.x.x (tentative) milestone Feb 19, 2025
@@ -38,6 +38,7 @@ func NewRestartCommand() *cobra.Command {
SilenceErrors: true,
}
restartCommand.Flags().UintP("time", "t", 10, "Seconds to wait for stop before killing it")
restartCommand.Flags().StringP("signal", "s", "", "Signal to send to stop the container, before killing it")
Copy link
Member

Choose a reason for hiding this comment

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

@coderbirju coderbirju force-pushed the add-signal-container-restart branch from 97d0bc0 to 8664311 Compare February 20, 2025 21:16
@coderbirju
Copy link
Contributor Author

Added Documentation updates for Stop and Restart container

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda AkihiroSuda merged commit 66a7a75 into containerd:main Feb 21, 2025
30 checks passed
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