File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -224,10 +224,10 @@ def build(self, **kwargs):
224
224
Build an image and return it. Similar to the ``docker build``
225
225
command. Either ``path`` or ``fileobj`` must be set.
226
226
227
- If you have a tar file for the Docker build context (including a
228
- Dockerfile) already , pass a readable file-like object to ``fileobj``
229
- and also pass ``custom_context=True``. If the stream is compressed
230
- also, set ``encoding`` to the correct value (e.g ``gzip``).
227
+ If you already have a tar file for the Docker build context (including a
228
+ Dockerfile), pass a readable file-like object to ``fileobj``
229
+ and also pass ``custom_context=True``. If the stream is also compressed,
230
+ set ``encoding`` to the correct value (e.g ``gzip``).
231
231
232
232
If you want to get the raw output of the build, use the
233
233
:py:meth:`~docker.api.build.BuildApiMixin.build` method in the
@@ -284,7 +284,7 @@ def build(self, **kwargs):
284
284
285
285
Returns:
286
286
(tuple): The first item is the :py:class:`Image` object for the
287
- image that was build . The second item is a generator of the
287
+ image that was built . The second item is a generator of the
288
288
build logs as JSON-decoded objects.
289
289
290
290
Raises:
You can’t perform that action at this time.
0 commit comments