| 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>
|
| |
| |
| |
| | |
image_id depending on docer build output Signed-off-by: Chris Ottinger <chris.ottinger@team.telstra.com>
|
|\ \
| | |
| | | |
Add support for start_period in Healthcheck spec
|
| | |
| | |
| | |
| | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \ \
| |/ /
|/| | |
Update check_resource decorator to account for new resource names
|
| | |
| | |
| | |
| | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \ \
| | | |
| | | | |
Add support for ingress in create_network
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \ \ \
| | | | |
| | | | | |
Fix misleading build method docs
|
| | |_|/
| |/| |
| | | |
| | | | |
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>
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In the case of a defined format with specific parts, a regular
expression with named capturing bits make reasoning about the
parts simpler than imlementing a parser from scratch.
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>
|
|\ \ \ \
| |/ / /
|/| | | |
Closes #1588, image.tag does not return anything
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | | |
DockerClient.secrets should be a @property
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \ \ \
| |/ / /
|/| | | |
Ensure default timeout is used by API Client
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We'd like to be able to pass `None` as a value for `timeout` because
it has meaning to the `requests` library
(http://docs.python-requests.org/en/master/user/advanced/#timeouts)
Signed-off-by: grahamlyons <graham@grahamlyons.com>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | | |
excludes requests 2.18.0 from compatible versions
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The 2.18.0 version of requests breaks compatibility with docker-py:
https://github.com/requests/requests/issues/4160
[This block](https://github.com/shazow/urllib3/blob/master/urllib3/connectionpool.py#L292) of code from urllib3 fails:
```python
def _get_timeout(self, timeout):
""" Helper that always returns a :class:`urllib3.util.Timeout` """
if timeout is _Default:
return self.timeout.clone()
if isinstance(timeout, Timeout):
return timeout.clone()
else:
# User passed us an int/float. This is for backwards compatibility,
# can be removed later
return Timeout.from_float(timeout)
```
In the case of requests version 2.18.0:
`timeout` was an instance of `urllib3.util.timeout.Timeout`
`Timeout` was an instance of `requests.packages.urllib3.util.timeout.Timeout`
When the `isinstance(timeout, Timeout)` check fails the `urllib3.util.timeout.Timeout` object is passed as the `connection` argument to `requests.packages.urllib3.util.timeout.Timeout.from_float`.
Signed-off-by: Matt Oberle <matt.r.oberle@gmail.com>
|
|\ \ \
| |/ /
|/| | |
Only pull the 'latest' tag when testing images
|
|/ /
| |
| |
| | |
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
|
|\ \
| | |
| | |
| | |
| | | |
allencloud/update-swarm-remove-test-status-code-from-500-to-400
update node remove test status code from 500 to >= 400
|
|/ /
| |
| |
| | |
Signed-off-by: allencloud <allen.sun@daocloud.io>
|
|\ \
| | |
| | | |
fix type checking for nano_cpus
|
| |/
| |
| |
| | |
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
|
|\ \
| |/
|/| |
Add support for placement preferences and platforms in TaskTemplate
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \
| |/
|/| |
Add `target` argument to image building
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \
| |/
|/| |
2.3.0 release
|
|/
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| | |
Fix docstring of ImageCollection.get
|
| |
| |
| |
| | |
Signed-off-by: Yusuke Miyazaki <miyazaki.dev@gmail.com>
|
|\ \
| |/
|/| |
update docker-py test status code from 500 to 400
|
| |
| |
| |
| | |
Signed-off-by: allencloud <allen.sun@daocloud.io>
|
|\ \
| |/
|/| |
Replace erroneous networks argument in containers.run
|
|/
|
|
|
|
|
|
| |
network equivalent.
Small docfixes
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| | |
Adjust tests and add newest engine version to Jenkinsfile
|