| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| | |
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>
|
|/
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
|
|
| |
"localhost:host_port:" case will raise TypeError exception directly
Catch the "TypeError" and give proper error message
* docker/utils/ports.py
Signed-off-by: Lei Gong <xue177125184@gmail.com>
|
|\
| |
| | |
Add df method
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \
| | |
| | | |
Bump default API version to 1.26
|
| |/
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| |
| | |
Signed-off-by: Tomasz Madycki <tomasz.madycki@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Tomasz Madycki <tomasz.madycki@gmail.com>
|
|\ \
| | |
| | | |
Add upgrade_plugin method
|
| |/
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
In https://github.com/docker/docker/pull/30870 a new
error message is displayed if the container is restarting.
To make "test_create_with_restart_policy" pass against the
above change, the test checks that the error message contains
"You cannot remove " instead of
"You cannot remove a running container"
Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
|
|\
| |
| | |
Allow port range like 8000-8010:80
|
| |
| |
| |
| | |
Signed-off-by: SeungJin Oh <crierr@naver.com>
|
|\ \
| | |
| | | |
Allow events daemon command to read config.json
|
| |/
| |
| |
| | |
Signed-off-by: Damien Nadé <github@livna.org>
|
|/
|
|
| |
Signed-off-by: Nils Krabshuis <nils.krabshuis@redwood.com>
|
|\
| |
| | |
Rename cachefrom -> cache_from
|
| |
| |
| |
| |
| |
| |
| | |
Fix cache_from integration test
Fix image ID detection in ImageCollection.build
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|/
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|