summaryrefslogtreecommitdiff
path: root/docker
Commit message (Collapse)AuthorAgeFilesLines
* Handle untyped ContainerSpec dict in _check_api_features1686-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-152-3/+6
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Leading slash in .dockerignore should be ignoredJoffrey F2017-08-151-0/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Return generator for output of load_image endpointJoffrey F2017-08-152-3/+29
| | | | 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>
* Improve ContainerError message computeJoffrey F2017-08-071-6/+3
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* client.containers.run returns None if none of json-file or journald logging ↵Artem Bolshakov2017-08-072-3/+23
| | | | | | drivers used Signed-off-by: Artem Bolshakov <either.free@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>
* Generating regexp from .dockerignore file in a similar way as docker-ce.Jakub Goszczurny2017-08-011-8/+19
| | | | Signed-off-by: Jakub Goszczurny <szczurmys@o2.pl>
* 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>
* Compose 1.14.0 hackJoffrey F2017-06-281-0/+5
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* split_port should not break when passed a non-string argumentJoffrey F2017-06-281-0/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* dev versionJoffrey F2017-06-271-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Bump 2.4.02.4.0-releaseJoffrey F2017-06-221-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1661 from shin-/1622-service-ttyJoffrey F2017-06-223-1/+12
|\ | | | | Add support for ContainerSpec.TTY
| * 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