summaryrefslogtreecommitdiff
path: root/docker/models
Commit message (Collapse)AuthorAgeFilesLines
* Don't attempt to retrieve container's stderr if `auto_remove` was set1813-autoremove-errorJoffrey F2017-12-191-1/+3
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Retrieve container logs before container exits / is removed1813-run-autoremoveJoffrey F2017-12-141-10/+19
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1807 from rycus86/update_service_from_prev_specJoffrey F2017-12-141-1/+10
|\ | | | | Update service from prev spec
| * Renaming new argumentViktor Adam2017-12-141-3/+3
| | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
| * Service model update changesViktor Adam2017-11-141-1/+10
| | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
* | Merge branch 'master' of https://github.com/tz70s/docker-py into tz70s-masterJoffrey F2017-12-131-0/+2
|\ \ | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Fix #1575 - Add cpu_rt_period and cpu_rt_runtime argsTzu-Chiao Yeh2017-08-131-0/+2
| | | | | | | | | | | | | | | | | | | | | Add cpu_rt_period and cpu_rt_runtime in hostconfig with version(1.25), types(int) checks. Also add version and type checks in dockertype unit test. Signed-off-by: Tzu-Chiao Yeh <su3g4284zo6y7@gmail.com>
* | | Merge pull request #1812 from rycus86/greedy_network_listJoffrey F2017-12-131-3/+18
|\ \ \ | | | | | | | | Fetch network details with network lists greedily
| * | | Only allow greedy queries on the modelViktor Adam2017-11-211-1/+7
| | | | | | | | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
| * | | Fetch network details with network lists greedilyViktor Adam2017-11-161-2/+11
| | |/ | |/| | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
| * | Style fixes. Copied docs to APIClient as wellJoffrey F2017-11-071-3/+4
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | explain the socket parameter of exec_runMartin Monperrus2017-11-071-3/+5
| | | | | | | | | | | | Signed-off-by: Martin Monperrus <martin.monperrus@gnieh.org>
| * | Add support for insert_defaults in inspect_serviceJoffrey F2017-11-071-2/+9
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Update SwarmSpec to include new parametersJoffrey F2017-11-071-3/+14
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Add support for scope filter in inspect_networkJoffrey F2017-11-071-3/+11
| | | | | | | | | | | | | | | | | | Fix missing scope implementation in create_network Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Improve docs for service list filtersAlessandro Baldo2017-11-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | - add "label" and "mode" to the list of available filter keys in the high-level service API - add "label" and "mode" to the list of available filter keys in the low-level service API - add integration tests Signed-off-by: Alessandro Baldo <git@baldoalessandro.net>
| * | Add support for configs managementJoffrey F2017-11-071-0/+69
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Add support for new ContainerSpec parametersJoffrey F2017-11-071-6/+31
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Add support for extra_hosts option in buildJoffrey F2017-11-071-0/+4
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Add support for mounts in HostConfigJoffrey F2017-11-071-0/+5
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Adding swarm id_attribute to match docker outputSteve Clark2017-11-071-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-11-071-1/+1
| | | | | | | | | | | | Signed-off-by: brett55 <bjcull2@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>
| * | Return generator for output of load_image endpointJoffrey F2017-08-171-0/+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-171-1/+15
| | | | | | | | | | | | | | | | | | drivers used Signed-off-by: Artem Bolshakov <either.free@gmail.com>
* | | Add unlock methods to Swarm modelunlock_swarm_supportJoffrey F2017-11-071-0/+8
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Style fixes. Copied docs to APIClient as wellJoffrey F2017-11-061-3/+4
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | explain the socket parameter of exec_runMartin Monperrus2017-11-061-3/+5
| | | | | | | | | | | | Signed-off-by: Martin Monperrus <martin.monperrus@gnieh.org>
* | | Add support for insert_defaults in inspect_serviceJoffrey F2017-11-061-2/+9
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Update SwarmSpec to include new parametersJoffrey F2017-11-031-3/+14
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Add support for scope filter in inspect_networkJoffrey F2017-11-021-3/+11
| | | | | | | | | | | | | | | | | | Fix missing scope implementation in create_network Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Improve docs for service list filtersAlessandro Baldo2017-11-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | - add "label" and "mode" to the list of available filter keys in the high-level service API - add "label" and "mode" to the list of available filter keys in the low-level service API - add integration tests Signed-off-by: Alessandro Baldo <git@baldoalessandro.net>
* | | Add support for configs managementJoffrey F2017-10-261-0/+69
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Add support for new ContainerSpec parametersJoffrey F2017-10-261-6/+31
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Add support for extra_hosts option in buildJoffrey F2017-10-251-0/+4
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Add support for mounts in HostConfigJoffrey F2017-10-241-0/+5
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | 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>
* | | Merge branch 'master' of github.com:docker/docker-pyJoffrey F2017-08-151-1/+1
|\ \ \
| * | | Use collection's get method inside ImageCollection's list methodadrianliaw2017-08-151-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Adrian Liaw <adrianliaw2000@gmail.com>
* | | | Use better version comparison functionJoffrey F2017-08-151-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-151-2/+8
|/ / / | | | | | | | | | | | | | | | both are set. Continue raising an exception for api versions <1.25. Signed-off-by: David Steines <d.steines@gmail.com>
* | | Return generator for output of load_image endpointJoffrey F2017-08-151-0/+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-071-1/+15
|/ | | | | | drivers used Signed-off-by: Artem Bolshakov <either.free@gmail.com>
* Add support for ContainerSpec.TTYJoffrey F2017-06-211-0/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add network_mode support to Client.build1397-build-networkJoffrey F2017-06-191-4/+7
| | | | 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>