| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Niklas Saari <niklas.saari@tutanota.com>
|
|
|
|
|
|
| |
Fixes #2271
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
| |
This is to avoid a breaking change
Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
|
|\
| |
| |
| | |
little-dude-master
|
| |
| |
| |
| |
| |
| | |
fixes https://github.com/docker/docker-py/issues/1952
Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Also raise a warning when users attempt to specify the "stream" parameter
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pulling an image with option `stream=True` like this:
```
client.api.pull('docker.io/user/repo_name', tag='latest', stream=True)
```
without consuming the generator oftentimes results in premature drop of the connection. Docker daemon tries to send progress of pulling the image to the client, but it encounters an error (broken pipe) and therefore cancells the pull action:
```
Thread 1 "dockerd-dev" received signal SIGPIPE, Broken pipe.
ERRO[2018-09-03T05:12:35.746497638+02:00] Not continuing with pull after error: context canceled
```
As described in issue #2116, even though client receives response with status code 200, image is not pulled.
Closes #2116
Signed-off-by: Przemysław Adamek <adw1n@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
| |
This parameter allows to set the UTS namespace of the container, as in
the `--uts=X` Docker CLI parameter:
<https://docs.docker.com/engine/reference/run/#uts-settings---uts>
The only allowed value, if set, is "host".
Signed-off-by: Marco Trillo <martri@arantia.com>
Signed-off-by: Diego Alvarez <dyako.developer@gmail.com>
|
|
|
|
|
|
| |
raise or ignore NotFound
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| |
| | |
https://github.com/hnq90/docker-py into hnq90-add_exit_code_to_exec_run
|
| |
| |
| |
| | |
Signed-off-by: HuyNQ <huy@huynq.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add ContainerSpec.isolation support
Add until support in logs
Add condition support in wait
Add workdir support in exec_create
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|/
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
| |
both are set. Continue raising an exception for api versions <1.25.
Signed-off-by: David Steines <d.steines@gmail.com>
|
|
|
|
|
|
|
|
| |
network equivalent.
Small docfixes
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| |
| |
| |
| | |
https://github.com/TomasTomecek/docker-py into TomasTomecek-add-env-support-to-exec
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| |
| | |
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
|
|/
|
|
|
|
|
|
|
| |
According to Docker's API documentation [1]. The parameter name
is `CpusetCpus` not `CpuSetCpus`.
[1] https://docs.docker.com/engine/api/v1.25/#operation/ContainerCreate
Signed-off-by: Dan Liew <daniel.liew@imperial.ac.uk>
|
|
|
|
| |
Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
|
|
|
|
|
|
|
|
| |
The Docker API seems to respond with a 'null' value for the 'Labels'
attribute from containers that were created with older Docker versions.
An empty dictionary is returned in this case.
Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
|
|
|
|
|
|
|
|
|
| |
Technically we shouldn't be passing them as binds, but the daemon
doesn't seem to mind.
Fixes #1380
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Seems like this is pretty much ignored by Docker, so it wasn't
causing any visible issues, except when a volume name was used
instead of a path.
Also, added integration tests.
Ref #1380
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
See #1086
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|