| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Add join_swarm default listen address
|
| |
| |
| |
| |
| |
| |
| |
| | |
Since the docker CLI adds a default listen address (0.0.0.0:2377)
when joining a node to the swarm, the docker-py api will support
the same behavior to easy configuration.
Signed-off-by: Maxime Belanger <maxime.b.belanger@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
.dockerignore. This causes an IndexError with patterns ending
with '**', e.g. 'subdir/**'. This adds a missing boundary check
before checking for trailing '/'.
Signed-off-by: Veli-Matti Lintu <veli-matti.lintu@nosto.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>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \
| | |
| | | |
fixes create_api_error_from_http_exception()
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`create_api_error_from_http_exception()` is never tested in the original code
and will fail miserably when fed with empty `HTTPError` object
see fixes in requests for this behaviour: https://github.com/requests/requests/pull/3179
Signed-off-by: Constantine Peresypkin <pconstantine@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \ \
| | | |
| | | | |
Update service from prev spec
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Viktor Adam <rycus86@gmail.com>
|
|\ \ \
| | | |
| | | |
| | | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
Add cpu_rt_period and cpu_rt_runtime in hostconfig with version(1.25), types(int) checks.
Also add version and type checks in dockertype unit test.
Signed-off-by: Tzu-Chiao Yeh <su3g4284zo6y7@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
drivers used
Signed-off-by: Artem Bolshakov <either.free@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jakub Goszczurny <szczurmys@o2.pl>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Container network functions checked 'image' as resource ID and not
'container'. This caused a traceback when using container as named
argument.
Signed-off-by: Matthew Berry <mtberry89@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Viktor Adam <rycus86@gmail.com>
|
| |/
|/|
| |
| | |
Signed-off-by: Viktor Adam <rycus86@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
.dockerignore. This causes an IndexError with patterns ending
with '**', e.g. 'subdir/**'. This adds a missing boundary check
before checking for trailing '/'.
Signed-off-by: Veli-Matti Lintu <veli-matti.lintu@nosto.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>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| |
| |
| |
| | |
drivers used
Signed-off-by: Artem Bolshakov <either.free@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Jakub Goszczurny <szczurmys@o2.pl>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Container network functions checked 'image' as resource ID and not
'container'. This caused a traceback when using container as named
argument.
Signed-off-by: Matthew Berry <mtberry89@gmail.com>
|
|/
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.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>
|
| |
| |
| |
| | |
Signed-off-by: Chris Mark <chrismarkou92@gmail.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>
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| |
| |
| |
| | |
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>
|