| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| | |
fix #1625 where ImageCollection.build() could return with incorrect image id
|
| |
| |
| |
| | |
Signed-off-by: Chris Ottinger <chris.ottinger@team.telstra.com>
|
| |
| |
| |
| |
| |
| | |
that the build method uses the last success message for extracting the image id
Signed-off-by: Chris Ottinger <chris.ottinger@team.telstra.com>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \
| | |
| | | |
Add support for ingress in create_network
|
| | |
| | |
| | |
| | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \ \
| | | |
| | | | |
Add support for ``runtime`` config
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Madhuri Kumari <madhuri.kumari@intel.com>
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | | |
allow ipv6 :: notation in split_port (using re)
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
The test was copied from https://github.com/greybyte/docker-py/commit/ccec87ca2c2aacfcfe3b38c5bc7d59dd73551c51
Signed-off-by: kaiyou <pierre@jaury.eu>
|
|\ \ \
| | | |
| | | | |
Raising error in case of invalid value of since kwarg on Container.logs
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Chris Mark <chrismarkou92@gmail.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
This patch returns the check made against api when tagging an image as stated in documentation
Signed-off-by: Olivier Sallou <olivier.sallou@irisa.fr>
|
|\ \ \
| | | |
| | | | |
Ensure default timeout is used by API Client
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The `from_env` method on the `docker` module passed `None` as the
value for the `timeout` keyword argument which overrode the default
value in the initialiser, taken from `constants` module.
This sets the default in the initialiser to `None` and adds logic
to set that, in the same way that `version` is handled.
Signed-off-by: grahamlyons <graham@grahamlyons.com>
|
|/ /
| |
| |
| | |
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: allencloud <allen.sun@daocloud.io>
|
|\ \
| |/
|/| |
Add support for placement preferences and platforms in TaskTemplate
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|/
|
|
|
|
|
|
|
|
| |
This is related to the multi-stage image building
that was introduced in 17.05 (API 1.29).
This allows a user to specify the stage of a multi-stage
Dockerfile to build for, rather than the final stage.
Signed-off-by: Yong Wen Chua <me@yongwen.xyz>
|
|\
| |
| | |
update docker-py test status code from 500 to 400
|
| |
| |
| |
| | |
Signed-off-by: allencloud <allen.sun@daocloud.io>
|
|/
|
|
|
|
|
|
| |
network equivalent.
Small docfixes
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/aaronthebaron/docker-py into aaronthebaron-1577-multi-success-message
|
| |
| |
| |
| | |
Signed-off-by: Aaron Cowdin <aaron.cowdin@gmail.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: Dan Liew <daniel.liew@imperial.ac.uk>
|
|\ \
| |/
|/| |
Add cpu_count, cpu_percent, nano_cpus parameters to container HostConfig.
|
| |
| |
| |
| |
| |
| | |
for new parameters are changed.
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
|
| |
| |
| |
| | |
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
|
|\ \
| | |
| | | |
Adds a few model properties
|
| | |
| | |
| | |
| | | |
Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
|
| | |
| | |
| | |
| | | |
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>
|
|/
|
|
| |
Signed-off-by: Rob Kooper <kooper@illinois.edu>
|
|
|
|
|
|
| |
Some cleanup in ContainerConfig + warning if volume_driver is provided (API>1.20)
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| | |
Fix APIError status_code property for client/server errors
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
requests.Response objects evaluate as falsy when the status_code
attribute is in the 400-500 range. Therefore we are assured that
prior to this change, APIError would show `is_server_error() == False`
when generated with a 500-level response and `is_client_error() == False`
when generated with a 400-level response. This is not desirable.
Added some seemingly dry (not DRY) unit tests to ensure nothing silly
slips back in here.
Signed-off-by: alex-dr <alex@datarobot.com>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|