summaryrefslogtreecommitdiff
path: root/docker/api
Commit message (Collapse)AuthorAgeFilesLines
* Add support for ingress in create_networkcreate-ingress-networkJoffrey F2017-05-171-1/+12
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add `target` argument to image buildingYong Wen Chua2017-05-161-1/+11
| | | | | | | | | | 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>
* Modernize exec_api.pyJoffrey F2017-05-021-5/+5
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge branch 'add-env-support-to-exec' of ↵Joffrey F2017-05-021-2/+14
|\ | | | | | | | | | | https://github.com/TomasTomecek/docker-py into TomasTomecek-add-env-support-to-exec Signed-off-by: Joffrey F <joffrey@docker.com>
| * exec: add support for `Env`Tomas Tomecek2017-04-291-2/+14
| | | | | | | | Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
* | Merge pull request #1583 from delcypher/cpuset_fixesJoffrey F2017-05-021-0/+2
|\ \ | | | | | | CPUset* parameter fixes
| * | Add missing support for `CpusetMems` parameter to HostConfig.Dan Liew2017-05-011-0/+2
| |/ | | | | | | Signed-off-by: Dan Liew <daniel.liew@imperial.ac.uk>
* | Merge pull request #1586 from terminalmage/refresh_credentialsJoffrey F2017-05-021-0/+14
|\ \ | | | | | | Add function to refresh credentials from config.json
| * | Move reload_config func into the APIClientErik Johnson2017-05-022-16/+16
| | | | | | | | | | | | | | | | | | Also revert an incorrect change in the DaemonApiMixin's login func Signed-off-by: Erik Johnson <palehose@gmail.com>
| * | Add a reload_config function to the DaemonApiMixinErik Johnson2017-05-021-2/+16
| |/ | | | | | | | | | | | | This allows the client to reload the config.json for an existing APIClient instance. Signed-off-by: Erik Johnson <palehose@gmail.com>
* | Documentation fixes for login funcErik Johnson2017-05-021-4/+5
|/ | | | | | | This makes a small tweak to the grammar of the documentation for the reauth argument, and also updates the dockercfg_path docs for accuracy. Signed-off-by: Erik Johnson <palehose@gmail.com>
* Standardize handling of verbose param in inspect_networkJoffrey F2017-04-101-11/+10
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add 'verbose' option for network inspect apiSanthosh Manohar2017-04-101-2/+11
| | | | Signed-off-by: Santhosh Manohar <santhosh@docker.com>
* docs renames: cpu_group->cpu_period, cpu_period->cpu_quotaPeter Slovak2017-04-071-2/+2
| | | | Signed-off-by: Peter Slovak <peter.slovak@websupport.sk>
* Update mentions of the default API version in docsJoffrey F2017-04-031-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Set infinite timeout for the `events` methodJoffrey F2017-03-271-1/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add service_logs integration testJoffrey F2017-03-131-1/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add service_logs command to APIClient and logs command to models.ServiceJoffrey F2017-03-131-0/+49
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1481 from shin-/system_dfJoffrey F2017-03-061-0/+16
|\ | | | | Add df method
| * Add df methodJoffrey F2017-03-011-0/+16
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Docstring fixes for init and init_pathJoffrey F2017-03-011-0/+3
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add upgrade_plugin methodJoffrey F2017-02-231-0/+37
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Allow events daemon command to read config.jsonDamien Nadé2017-02-211-1/+1
| | | | Signed-off-by: Damien Nadé <github@livna.org>
* Rename cachefrom -> cache_fromJoffrey F2017-02-151-7/+8
| | | | | | | Fix cache_from integration test Fix image ID detection in ImageCollection.build Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1459 from shin-/1300-storageoptsJoffrey F2017-02-151-0/+2
|\ | | | | Add support for storage_opt in host_config
| * Add support for storage_opt in host_configJoffrey F2017-02-151-0/+2
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add tests for secret API implementationJoffrey F2017-02-131-0/+4
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Implement secrets APIJoffrey F2017-02-132-0/+89
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1432 from shin-/pluginsJoffrey F2017-02-132-1/+219
|\ \ | |/ | | Plugins API
| * Add create_plugin implementationJoffrey F2017-02-091-5/+12
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Fix _post_json behaviorJoffrey F2017-02-031-1/+1
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * APIClient implementation of plugin methodsJoffrey F2017-02-032-1/+212
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Fix volume path passed by run to create_containerBen Firshman2017-02-071-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #1344 from psviderski/fix/logs_performanceJoffrey F2017-02-061-2/+4
|\ \ | | | | | | Dramatically increase get logs performance
| * | increase logs performance, do not copy bytes objectPavel Sviderski2016-12-071-2/+4
| | | | | | | | | | | | Signed-off-by: Pavel Sviderski <pavel@psviderski.name>
* | | Merge pull request #1425 from shin-/prunesJoffrey F2017-02-034-3/+91
|\ \ \ | | | | | | | | Prunes
| * | | Reference new methods in docsJoffrey F2017-01-301-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Add prune_networks methodJoffrey F2017-01-301-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | Ensure all integration tests use the same version of the busybox image Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Add prune_volumes methodJoffrey F2017-01-301-0/+22
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Add prune_images methodJoffrey F2017-01-301-0/+25
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Add prune_containers methodJoffrey F2017-01-301-3/+22
| | |/ | |/| | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #1427 from shin-/rmb938-patch-2Joffrey F2017-01-301-1/+2
|\ \ \ | |/ / |/| | Optional name param in create_volume
| * | Merge branch 'patch-2' of https://github.com/rmb938/docker-py into ↵Joffrey F2017-01-301-1/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | rmb938-patch-2 Signed-off-by: Joffrey F <joffrey@docker.com>
| | * | Name is not required when creating a docker volumeRyan Belgrave2016-12-061-1/+2
| | |/ | | | | | | | | | Signed-off-by: Ryan Belgrave <Ryan.Belgrave@target.com>
* | | Merge pull request #1354 from bfirsh/remote-api-to-engine-apiJoffrey F2017-01-302-2/+2
|\ \ \ | | | | | | | | Change "Remote API" to "Engine API"
| * | | Change "Remote API" to "Engine API"Ben Firshman2017-01-302-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | This is currently inconsistent, but mostly called "Engine API". For the release of Docker 1.13, this will be "Engine API" all over the Engine documentation, too. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* | | Merge pull request #1341 from pacoxu/patch-1Joffrey F2017-01-301-1/+2
|\ \ \ | | | | | | | | Scope is added in volume after docker 1.12
| * | | Scope is added in volume after docker 1.12徐俊杰2016-12-081-1/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: pacoxu <paco.xu@daocloud.io> add ut test for volume scope and no specified name create Signed-off-by: Paco Xu <paco.xu@daocloud.io> try to fix ut failure of volume creation Signed-off-by: Paco Xu <paco.xu@daocloud.io> try to fix ut failure of volume creation Signed-off-by: Paco Xu <paco.xu@daocloud.io> Scope is added in volume after docker 1.12 Signed-off-by: pacoxu <paco.xu@daocloud.io> Scope is added in volume after docker 1.12 Signed-off-by: pacoxu <paco.xu@daocloud.io>
* | | Add support for force_update in TaskTemplateJoffrey F2017-01-271-1/+33
| |/ |/| | | | | | | | | Add min version checks in create_service and update_service Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add stop_timeout to create_containerJoffrey F2017-01-271-1/+4
| | | | | | | | | | | | Fix requires_api_version test decorator Signed-off-by: Joffrey F <joffrey@docker.com>