summaryrefslogtreecommitdiff
path: root/docker/models/images.py
Commit message (Collapse)AuthorAgeFilesLines
* Add support for extra_hosts option in buildJoffrey F2017-10-251-0/+4
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix docs, incorrect param namebrett552017-09-211-1/+1
| | | | Signed-off-by: brett55 <bjcull2@gmail.com>
* Use collection's get method inside ImageCollection's list methodadrianliaw2017-08-151-1/+1
| | | | Signed-off-by: Adrian Liaw <adrianliaw2000@gmail.com>
* Return generator for output of load_image endpointJoffrey F2017-08-151-0/+3
| | | | 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>
* | 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>
* | 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>
* Add `target` argument to image buildingYong Wen Chua2017-05-161-0/+2
| | | | | | | | | | 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>
* Fix docstring of ImageCollection.getYusuke Miyazaki2017-05-141-2/+2
| | | | Signed-off-by: Yusuke Miyazaki <miyazaki.dev@gmail.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>
* Improve build result detectionJoffrey F2017-05-051-4/+7
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* 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>
* Adds a 'labels' property to the image modelFrank Sachsenheim2017-04-151-0/+8
| | | | Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
* Rename cachefrom -> cache_fromJoffrey F2017-02-151-3/+4
| | | | | | | Fix cache_from integration test Fix image ID detection in ImageCollection.build Signed-off-by: Joffrey F <joffrey@docker.com>
* Add prune_images methodJoffrey F2017-01-301-0/+4
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1377 from realab/chunked-images-saveJoffrey F2017-01-301-2/+3
|\ | | | | provide best practice for Image.save
| * provide best practice for Image.saverealityone2017-01-061-2/+3
| | | | | | | | Signed-off-by: realityone <realityone@me.com>
* | Add cachefrom to build docstringThomas Grainger2017-01-261-0/+1
| | | | | | | | Signed-off-by: Thomas Grainger <tom.grainger@procensus.com>
* | Fix #1351Alejandro E. Brito Monedero2017-01-161-4/+4
|/ | | | | | | | * Fix TypeError when getting the tags property from an image that has no tags. Ex: An image pulled by cryptohash. It is handled like when the image doesn't have defined the RepoTags member. Signed-off-by: Alejandro E. Brito Monedero <alejandro.monedero@gmail.com>
* Rename Client -> DockerClientdocker_clientJoffrey F2016-11-281-1/+1
| | | | | | | Replace references to old Client with APIClient Moved contents of services.md to appropriate locations Signed-off-by: Joffrey F <joffrey@docker.com>
* Add new user-focused APIBen Firshman2016-11-221-0/+269
See #1086 Signed-off-by: Ben Firshman <ben@firshman.co.uk>