Skip to content

Commit 1379f43

Browse files
committed
Updating Client.build() doc to mention rm-mismatch. Fixes #332.
1 parent 39ee2d5 commit 1379f43

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ correct value (e.g `gzip`).
5252
* quiet (bool): Whether to return the status
5353
* fileobj: A file object to use as the Dockerfile. (Or a file-like object)
5454
* nocache (bool): Don't use the cache when set to `True`
55-
* rm (bool): Remove intermediate containers
55+
* rm (bool): Remove intermediate containers. The `docker build` command now
56+
defaults to ``--rm=true``, but we have kept the old default of `False`
57+
to preserve backward compatibility
5658
* stream (bool): *Deprecated for API version > 1.8 (always True)*.
5759
Return a blocking generator you can iterate over to retrieve build output as
5860
it happens

0 commit comments

Comments
 (0)