summaryrefslogtreecommitdiff
path: root/docker
Commit message (Collapse)AuthorAgeFilesLines
* Add support for ingress in create_networkcreate-ingress-networkJoffrey F2017-05-172-1/+14
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1612 from lawliet89/build-stageJoffrey F2017-05-172-1/+13
|\ | | | | Add `target` argument to image building
| * Add `target` argument to image buildingYong Wen Chua2017-05-162-1/+13
| | | | | | | | | | | | | | | | | | | | 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>
* | dev versionJoffrey F2017-05-161-1/+1
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Bump 2.3.02.3.0-releaseJoffrey F2017-05-161-1/+1
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix docstring of ImageCollection.getYusuke Miyazaki2017-05-141-2/+2
| | | | Signed-off-by: Yusuke Miyazaki <miyazaki.dev@gmail.com>
* Replace erroneous networks argument in containers.run with singular1433-run-networksJoffrey F2017-05-123-10/+19
| | | | | | | | network equivalent. Small docfixes Signed-off-by: Joffrey F <joffrey@docker.com>
* init_path removed in Engine 17.05init_path_removedJoffrey F2017-05-091-0/+4
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Include tag in images.get after pulling if provided separately1585-pull-tagJoffrey F2017-05-091-3/+3
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge branch 'issue1567' of https://github.com/Niboo/docker-py into ↵Joffrey F2017-05-081-3/+6
|\ | | | | | | | | | | Niboo-issue1567 Signed-off-by: Joffrey F <joffrey@docker.com>
| * Fix the way the list of mounts is made for service.Antoine Verlant2017-05-081-3/+6
| | | | | | | | Signed-off-by: Antoine Verlant <antoine@niboo.be>
* | Merge branch 'aaronthebaron-1577-multi-success-message'Joffrey F2017-05-051-12/+15
|\ \
| * | Improve build result detectionJoffrey F2017-05-051-4/+7
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Merge branch '1577-multi-success-message' of ↵Joffrey F2017-05-051-12/+12
| |\ \ | | | | | | | | | | | | https://github.com/aaronthebaron/docker-py into aaronthebaron-1577-multi-success-message
| | * | Better error handling, itterate on json stream directly.Aaron Cowdin2017-05-031-8/+7
| | | | | | | | | | | | | | | | Signed-off-by: Aaron Cowdin <aaron.cowdin@gmail.com>
| | * | Handle multiple success messages during image building.Aaron Cowdin2017-04-281-7/+8
| | | | | | | | | | | | | | | | Signed-off-by: Aaron Cowdin <aaron.cowdin@gmail.com>
* | | | Update image create error parsingAlfred Landrum2017-05-041-1/+2
|/ / / | | | | | | | | | | | | | | | | | | Support new error message returned for image creation in: https://github.com/moby/moby/pull/33005 Signed-off-by: Alfred Landrum <alfred@leakybucket.org>
* | | 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-022-4/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | 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-292-4/+19
| | | | | | | | | | | | | | | | Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
* | | | Merge pull request #1583 from delcypher/cpuset_fixesJoffrey F2017-05-023-2/+18
|\ \ \ \ | | | | | | | | | | CPUset* parameter fixes
| * | | | Fix typo s/CpuSetCpus/CpusetCpus/Dan Liew2017-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | Add missing support for `CpusetMems` parameter to HostConfig.Dan Liew2017-05-013-1/+17
| | |/ / | |/| | | | | | | | | | 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>
* | | Merge pull request #1570 from AlexeyRokhin/masterJoffrey F2017-04-282-1/+33
|\ \ \ | |/ / |/| | Add cpu_count, cpu_percent, nano_cpus parameters to container HostConfig.
| * | cpus renamed to nano_cpus. Type and scale of nano_cpus are changed. Comments ↵Alexey Rokhin2017-04-282-10/+11
| | | | | | | | | | | | | | | | | | for new parameters are changed. Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
| * | Add cpu_count, cpu_percent, cpus parameters to container HostConfig.Alexey Rokhin2017-04-192-1/+32
| |/ | | | | | | Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
* | Merge pull request #1493 from funkyfuture/model_propertiesJoffrey F2017-04-272-0/+26
|\ \ | | | | | | Adds a few model properties
| * | Adds an 'image' property to the container modelFrank Sachsenheim2017-04-151-0/+10
| | | | | | | | | | | | Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
| * | Adds a 'labels' property to the image modelFrank Sachsenheim2017-04-151-0/+8
| | | | | | | | | | | | Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
| * | Adds a 'labels' property to the container modelFrank Sachsenheim2017-04-151-0/+8
| |/ | | | | | | | | | | | | | | 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>
* | FormattingJoffrey F2017-04-271-8/+6
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Network model functions 'connect' and 'disconnect' did not accept or ↵Jesper L. Nielsen2017-04-271-4/+9
| | | | | | | | | | | | passthrough keyword arguments. Signed-off-by: Jesper L. Nielsen <lyager@gmail.com>
* | Merge pull request #1574 from Coderhypo/masterJoffrey F2017-04-271-1/+1
|\ \ | | | | | | fix can't get a dict when Containers is None
| * | fix can't get a dict when Containers is NonehhHypo2017-04-261-1/+1
| |/ | | | | | | Signed-off-by: hhHypo <i@ihypo.net>
* | Merge branch 'aashutoshrathi-restart_policy_typo'Joffrey F2017-04-271-2/+2
|\ \
| * | Update services.pyAashutosh Rathi2017-04-271-2/+2
| |/ | | | | | | Signed-off-by: Aashutosh Rathi <aashutoshrathi@gmail.com>
* | Fix if replicas is set to 0, Fixes #1572Rob Kooper2017-04-261-1/+1
|/ | | | Signed-off-by: Rob Kooper <kooper@illinois.edu>
* 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>
* Merge pull request #1557 from ewanbarr/patch-1Joffrey F2017-04-101-1/+1
|\ | | | | Minor typo correction
| * Minor typo correctionewanbarr2017-04-081-1/+1
| | | | | | | | | | | | The stdout argument name was repeated in the run method docstring. The second should be replaced by stderr. Signed-off-by: Ewan Barr <ewan.d.barr@googlmail.com>
* | Merge pull request #1554 from peter-slovak/fix-docs-container-cpu-optsJoffrey F2017-04-062-7/+5
|\ \ | | | | | | Fix docs container cpu opts
| * | removed duplicate mem_limit arg desc; type now consistent accross models ↵Peter Slovak2017-04-071-3/+1
| | | | | | | | | | | | | | | | | | (float->int) Signed-off-by: Peter Slovak <peter.slovak@websupport.sk>
| * | docs renames: cpu_group->cpu_period, cpu_period->cpu_quotaPeter Slovak2017-04-072-4/+4
| | | | | | | | | | | | Signed-off-by: Peter Slovak <peter.slovak@websupport.sk>
* | | Merge pull request #1547 from shin-/1543-volume-driver-movedJoffrey F2017-04-061-39/+52
|\ \ \ | |/ / |/| | Add support for volume_driver in HostConfig
| * | Add support for volume_driver in HostConfigJoffrey F2017-04-051-39/+52
| |/ | | | | | | | | | | Some cleanup in ContainerConfig + warning if volume_driver is provided (API>1.20) Signed-off-by: Joffrey F <joffrey@docker.com>