summaryrefslogtreecommitdiff
path: root/docker
Commit message (Collapse)AuthorAgeFilesLines
* Add support for extra_hosts option in buildJoffrey F2017-10-252-1/+18
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for mounts in HostConfigJoffrey F2017-10-243-1/+15
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for new types and options to docker.types.MountJoffrey F2017-10-241-14/+41
| | | | 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>
* Adding swarm id_attribute to match docker outputSteve Clark2017-09-211-0/+2
| | | | | Swarm id is returned in a attribute with the key ID. The swarm model was using the default behaviour and looking for Id. Signed-off-by: Steve Clark <steve@cobe.io>
* Fix docs, incorrect param namebrett552017-09-211-1/+1
| | | | Signed-off-by: brett55 <bjcull2@gmail.com>
* Do not interrupt streaming when encountering 0-length framesJoffrey F2017-08-311-2/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* 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>
* Commit d798afca made changes for the handling of '**' patterns inVeli-Matti Lintu2017-08-211-1/+1
| | | | | | | | .dockerignore. This causes an IndexError with patterns ending with '**', e.g. 'subdir/**'. This adds a missing boundary check before checking for trailing '/'. Signed-off-by: Veli-Matti Lintu <veli-matti.lintu@nosto.com>
* Bump 2.6.0-devJoffrey F2017-08-171-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Bump 2.5.02.5.0Joffrey F2017-08-171-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update default API versionJoffrey F2017-08-171-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix handling of non-multiplexed (TTY) streams over upgraded socketsJoffrey F2017-08-174-9/+40
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for the `squash` flag when buildingGabriel Féron2017-08-171-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>
* Use better version comparison functionJoffrey F2017-08-171-3/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Allow detach and remove for api version >= 1.25 and use auto_remove when ↵David Steines2017-08-171-2/+8
| | | | | | both are set. Continue raising an exception for api versions <1.25. Signed-off-by: David Steines <d.steines@gmail.com>
* Use collection's get method inside ImageCollection's list methodadrianliaw2017-08-171-1/+1
| | | | Signed-off-by: Adrian Liaw <adrianliaw2000@gmail.com>
* Handle untyped ContainerSpec dict in _check_api_featuresJoffrey F2017-08-171-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-172-3/+6
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Leading slash in .dockerignore should be ignoredJoffrey F2017-08-171-0/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Return generator for output of load_image endpointJoffrey F2017-08-172-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-171-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-171-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-172-3/+23
| | | | | | drivers used Signed-off-by: Artem Bolshakov <either.free@gmail.com>
* Fix domainname documentation in create_container functionErik Johnson2017-08-171-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-171-8/+19
| | | | Signed-off-by: Jakub Goszczurny <szczurmys@o2.pl>
* client.networks.create check_duplicates docs not reflective of behaviorDima Spivak2017-08-171-1/+1
| | | | | | Fixes #1693 Signed-off-by: Dima Spivak <dima@spivak.ch>
* Fix #1673 check resource error in container network APIMatthew Berry2017-08-171-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>
* dev versionJoffrey F2017-08-171-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Bump 2.4.22.4.2-releaseJoffrey F2017-06-281-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Compose 1.14.0 hackJoffrey F2017-06-281-0/+5
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Bump 2.4.12.4.1-releaseJoffrey F2017-06-281-1/+1
| | | | 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>
* 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