summaryrefslogtreecommitdiff
path: root/docker/api
Commit message (Collapse)AuthorAgeFilesLines
* Add support for extra_hosts option in buildJoffrey F2017-10-251-1/+14
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for mounts in HostConfigJoffrey F2017-10-241-0/+4
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix simple documentation copy/paste error.Jan Losinski2017-10-161-2/+2
| | | | Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
* Fix prune_images docstringJoffrey F2017-08-311-2/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Always send attach request as streamingJoffrey F2017-08-211-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix handling of non-multiplexed (TTY) streams over upgraded socketsJoffrey F2017-08-173-8/+20
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for the `squash` flag when buildingGabriel Féron2017-08-151-1/+12
| | | | | | Also added a test that compares the number of layers in the default mode, and with the new flag Signed-off-by: Gabriel Féron <feron.gabriel@gmail.com>
* Handle untyped ContainerSpec dict in _check_api_featuresJoffrey F2017-08-151-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Daemon expects full URL of hub in auth config dict in build payloadJoffrey F2017-08-151-1/+4
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Return generator for output of load_image endpointJoffrey F2017-08-151-3/+26
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Return the result of the API when using remove_image and load_imageCecile Tonglet2017-08-151-2/+2
| | | | | | Those calls return result that can be used by the developers. Signed-off-by: Cecile Tonglet <cecile.tonglet@gmail.com>
* Fix domainname documentation in create_container functionErik Johnson2017-08-071-1/+1
| | | | | | | It looks like this was probably originally copypasta'ed from dns_search and not edited afterward. Signed-off-by: Erik Johnson <palehose@gmail.com>
* client.networks.create check_duplicates docs not reflective of behaviorDima Spivak2017-07-311-1/+1
| | | | | | Fixes #1693 Signed-off-by: Dima Spivak <dima@spivak.ch>
* Fix #1673 check resource error in container network APIMatthew Berry2017-07-141-2/+2
| | | | | | | | 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>
* Merge pull request #1661 from shin-/1622-service-ttyJoffrey F2017-06-221-0/+5
|\ | | | | Add support for ContainerSpec.TTY
| * Add support for ContainerSpec.TTYJoffrey F2017-06-211-0/+5
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Correct the description of dns_opt option of create_containerBoik2017-06-221-2/+2
| | | | | | | | Signed-off-by: Boik <qazbnm456@gmail.com>
* | Merge pull request #1640 from zero57/add_attrs_for_picklingJoffrey F2017-06-221-0/+6
|\ \ | |/ |/| Add attributes for pickling
| * Add attributes for picklingAn Ha2017-06-201-0/+6
| | | | | | | | | | | | | | | | When using the multiprocessing module, it throws an AttributeError, complaining that the object does not have the attribute used. This adds the missing attributes and allows them to be pickled. Signed-off-by: An Ha <zero579911@gmail.com>
* | Add network_mode support to Client.build1397-build-networkJoffrey F2017-06-191-6/+16
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1620 from docker/healthcheck-start-periodJoffrey F2017-06-191-0/+2
|\ | | | | Add support for start_period in Healthcheck spec
| * Add support for start_period in Healthcheck spechealthcheck-start-periodJoffrey F2017-06-161-0/+2
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1649 from shin-/1639-exec-id-check-resourceJoffrey F2017-06-199-48/+50
|\ \ | |/ |/| Update check_resource decorator to account for new resource names
| * Update check_resource decorator to account for new resource namesJoffrey F2017-06-159-48/+50
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1617 from docker/create-ingress-networkJoffrey F2017-06-161-1/+12
|\ \ | | | | | | Add support for ingress in create_network
| * | Add support for ingress in create_networkcreate-ingress-networkJoffrey F2017-05-171-1/+12
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #1631 from madhuri-rai07/masterJoffrey F2017-06-161-2/+4
|\ \ \ | | | | | | | | Add support for ``runtime`` config
| * | | Fix test cases for ``runtime`` configMadhuri Kumari2017-06-071-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Madhuri Kumari <madhuri.kumari@intel.com>
| * | | Add support for ``runtime`` in container create and run APIMadhuri Kumari2017-06-011-2/+4
| | |/ | |/|
* | | Raising error in case of invalid value of since kwarg on Container.logsChris Mark2017-06-161-0/+5
|/ / | | | | | | Signed-off-by: Chris Mark <chrismarkou92@gmail.com>
* | Merge pull request #1615 from docker/service-placementJoffrey F2017-05-171-28/+41
|\ \ | |/ |/| Add support for placement preferences and platforms in TaskTemplate
| * Add support for placement preferences and platforms in TaskTemplateservice-placementJoffrey F2017-05-171-28/+41
| | | | | | | | 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