mirror of https://github.com/docker/docker-py.git
Merge 22fe39ba0b
into 526a9db743
This commit is contained in:
commit
b369d8f15f
|
@ -55,7 +55,11 @@ class BuildApiMixin:
|
|||
'{"stream":"Successfully built 032b8b2855fc\\n"}']
|
||||
|
||||
Args:
|
||||
path (str): Path to the directory containing the Dockerfile
|
||||
path (str): Path to the directory containing the Dockerfile.
|
||||
Typically, the Dockerfile is a direct child of `path`,
|
||||
but it can also be in a nested directory.
|
||||
A copy of the `path` directory, excluding files specified
|
||||
in `.dockerignore`, will be used as the build context.
|
||||
fileobj: A file object to use as the Dockerfile. (Or a file-like
|
||||
object)
|
||||
tag (str): A tag to add to the final image
|
||||
|
|
|
@ -232,7 +232,11 @@ class ImageCollection(Collection):
|
|||
low-level API.
|
||||
|
||||
Args:
|
||||
path (str): Path to the directory containing the Dockerfile
|
||||
path (str): Path to the directory containing the Dockerfile.
|
||||
Typically, the Dockerfile is a direct child of `path`,
|
||||
but it can also be in a nested directory.
|
||||
A copy of the `path` directory, excluding files specified
|
||||
in `.dockerignore`, will be used as the build context.
|
||||
fileobj: A file object to use as the Dockerfile. (Or a file-like
|
||||
object)
|
||||
tag (str): A tag to add to the final image
|
||||
|
|
Loading…
Reference in New Issue