File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -513,6 +513,15 @@ Kill a container or send a signal to a container
513
513
* container (str ): The container to kill
514
514
* signal (str or int ): The singal to send. Defaults to `SIGKILL `
515
515
516
+ # # load_image
517
+
518
+ Load an image that was previously saved using `Client.get_image`
519
+ (or `docker save` ). Similar to `docker load` .
520
+
521
+ ** Params** :
522
+
523
+ * data (binary): Image data to be loaded
524
+
516
525
# # login
517
526
518
527
Nearly identical to the `docker login` command, but non- interactive.
@@ -828,10 +837,13 @@ Nearly identical to the `docker version` command.
828
837
829
838
# # wait
830
839
Identical to the `docker wait` command. Block until a container stops, then
831
- print its exit code. Returns the value `- 1 ` if no `StatusCode` is returned by
832
- the API .
840
+ return its exit code. Returns the value `- 1 ` if the API responds without a
841
+ `StatusCode` attribute .
833
842
834
- If `container` a dict , the `Id` key is used.
843
+ If `container` is a dict , the `Id` key is used.
844
+
845
+ If the timeout value is exceeded, a `requests.exceptions.ReadTimeout`
846
+ exception will be raised.
835
847
836
848
** Params** :
837
849
You can’t perform that action at this time.
0 commit comments