You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolved issue docker#3311 (UnixHTTPConnection updating number of connections) and issue docker#3304 (signal argument is now added to container.stop and container.restart)
Stops a container. Similar to the ``docker stop`` command.
1190
1191
1191
1192
Args:
1192
-
container (str): The container to stop
1193
-
timeout (int): Timeout in seconds to wait for the container to
1194
-
stop before sending a ``SIGKILL``. If None, then the
1195
-
StopTimeout value of the container will be used.
1196
-
Default: None
1193
+
container (str): The container to stop.
1194
+
timeout (int): Timeout in seconds to wait for the container to stop before sending a ``SIGKILL``. If None, then the StopTimeout value of the container will be used. Default: None.
1195
+
signal (str, optional): The signal to send when stopping the container. If not specified, the server's default behavior is used.
0 commit comments