summaryrefslogtreecommitdiff
path: root/docker
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add support for ContainerSpec.TTYJoffrey F2017-06-213-1/+12
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1662 from docker/1633-credhelpers-supportJoffrey F2017-06-221-7/+23
|\ \ | | | | | | Support credHelpers section in config.json
| * | Support credHelpers section in config.json1633-credhelpers-supportJoffrey F2017-06-221-7/+23
| |/ | | | | | | 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-224-0/+20
|\ \ | |/ |/| Add attributes for pickling
| * Add attributes for picklingAn Ha2017-06-204-0/+20
| | | | | | | | | | | | | | | | 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-192-10/+23
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1626 from datwiz/images-build-error-1625Joffrey F2017-06-191-3/+4
|\ | | | | fix #1625 where ImageCollection.build() could return with incorrect image id
| * fix #1625 where ImageCollection.build() could return early with incorrect ↵Chris Ottinger2017-05-271-3/+4
| | | | | | | | image_id depending on docer build output Signed-off-by: Chris Ottinger <chris.ottinger@team.telstra.com>
* | Merge pull request #1620 from docker/healthcheck-start-periodJoffrey F2017-06-194-5/+26
|\ \ | | | | | | Add support for start_period in Healthcheck spec
| * | Add support for start_period in Healthcheck spechealthcheck-start-periodJoffrey F2017-06-164-5/+26
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #1649 from shin-/1639-exec-id-check-resourceJoffrey F2017-06-1911-65/+66
|\ \ \ | |/ / |/| | Update check_resource decorator to account for new resource names
| * | Update check_resource decorator to account for new resource namesJoffrey F2017-06-1511-65/+66
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #1617 from docker/create-ingress-networkJoffrey F2017-06-162-1/+14
|\ \ \ | | | | | | | | Add support for ingress in create_network
| * | | 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 #1629 from shin-/1610-docfixJoffrey F2017-06-161-3/+0
|\ \ \ \ | | | | | | | | | | Fix misleading build method docs
| * | | | Fix misleading build method docsJoffrey F2017-05-301-3/+0
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Merge pull request #1631 from madhuri-rai07/masterJoffrey F2017-06-163-5/+15
|\ \ \ \ | | | | | | | | | | Add support for ``runtime`` config
| * | | | Fix test cases for ``runtime`` configMadhuri Kumari2017-06-073-3/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Madhuri Kumari <madhuri.kumari@intel.com>
| * | | | Add support for ``runtime`` in container create and run APIMadhuri Kumari2017-06-013-5/+13
| |/ / /
* | | | Merge pull request #1632 from kaiyou/masterJoffrey F2017-06-161-67/+40
|\ \ \ \ | | | | | | | | | | allow ipv6 :: notation in split_port (using re)
| * | | | Rewrite the split_port function using rekaiyou2017-06-051-67/+40
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the case of a defined format with specific parts, a regular expression with named capturing bits make reasoning about the parts simpler than imlementing a parser from scratch. Signed-off-by: kaiyou <pierre@jaury.eu>
* | | | Merge pull request #1648 from ChrsMark/masterJoffrey F2017-06-161-0/+5
|\ \ \ \ | | | | | | | | | | Raising error in case of invalid value of since kwarg on Container.logs
| * | | | 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>
* | | | Closes #1588, image.tag does not return anythingOlivier Sallou2017-06-161-1/+1
|/ / / | | | | | | | | | | | | | | | This patch returns the check made against api when tagging an image as stated in documentation Signed-off-by: Olivier Sallou <olivier.sallou@irisa.fr>
* | | Merge pull request #1647 from docker/1642-dockerclient-secretsJoffrey F2017-06-151-0/+1
|\ \ \ | | | | | | | | DockerClient.secrets should be a @property
| * | | DockerClient.secrets should be a @property1642-dockerclient-secretsJoffrey F2017-06-141-0/+1
| |/ / | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Move default `timeout` into `from_env`grahamlyons2017-06-092-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | We'd like to be able to pass `None` as a value for `timeout` because it has meaning to the `requests` library (http://docs.python-requests.org/en/master/user/advanced/#timeouts) Signed-off-by: grahamlyons <graham@grahamlyons.com>
* | | Ensure default timeout is used by API Clientgrahamlyons2017-06-081-3/+6
|/ / | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #1619 from docker/AlexeyRokhin-masterJoffrey F2017-05-171-1/+1
|\ \ | | | | | | fix type checking for nano_cpus
| * | fix type checking for nano_cpusAlexeyRokhin-masterAlexey Rokhin2017-05-171-1/+1
| |/ | | | | | | Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
* | Merge pull request #1615 from docker/service-placementJoffrey F2017-05-173-32/+72
|\ \ | |/ |/| Add support for placement preferences and platforms in TaskTemplate
| * Add support for placement preferences and platforms in TaskTemplateservice-placementJoffrey F2017-05-173-32/+72
| | | | | | | | 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>