Skip to content

Conversation

Khushiyant
Copy link
Contributor

Closes #3304

This PR aims to provide support for signal that is sent to the container in stop and restart according to API v1.42.

Adds following changes:

  • signal argument to restart and stop in docker/api/container.py
  • signal docstring in docker/models/containers.py
  • unit tests in tests/unit/models_containers_test.py

Refer API version here

Signed-off-by: Khushiyant <khushiyant2002@gmail.com>
@Khushiyant Khushiyant force-pushed the signal-stop-restart branch from e50725f to bb2ae90 Compare March 21, 2025 13:27
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.

container.stop and container.restart are missing the signal argument
1 participant