Joffrey F
d1038c422b
Add support for secrets in ContainerSpec
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-02-13 17:05:58 -08:00
Joffrey F
52bae3ca2c
Implement secrets API
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-02-13 17:05:58 -08:00
Joffrey F
35f37a0936
Merge pull request #1432 from shin-/plugins
...
Plugins API
2017-02-13 13:20:53 -08:00
Joffrey F
e1ad3186ef
Add create_plugin implementation
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-02-09 17:58:05 -08:00
Ben Firshman
f83993de0a
Fix passing volumes to run with no host path
...
Technically we shouldn't be passing them as binds, but the daemon
doesn't seem to mind.
Fixes #1380
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2017-02-07 19:22:36 +01:00
Ben Firshman
956fe1cac1
Fix volume path passed by run to create_container
...
Seems like this is pretty much ignored by Docker, so it wasn't
causing any visible issues, except when a volume name was used
instead of a path.
Also, added integration tests.
Ref #1380
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2017-02-07 19:22:35 +01:00
Joffrey F
96a9eaced6
Merge pull request #1344 from psviderski/fix/logs_performance
...
Dramatically increase get logs performance
2017-02-06 17:01:58 -08:00
Joffrey F
cd05d8d53d
Fix _post_json behavior
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-02-03 19:53:58 -08:00
Joffrey F
42b9358458
Merge pull request #1425 from shin-/prunes
...
Prunes
2017-02-03 19:49:54 -08:00
Joffrey F
39f6a89b69
Add plugin API implementation to DockerClient
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-02-03 19:46:58 -08:00
Joffrey F
9296971e4c
APIClient implementation of plugin methods
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-02-03 19:45:59 -08:00
Joffrey F
a8cdc6bf34
Merge pull request #1427 from shin-/rmb938-patch-2
...
Optional name param in create_volume
2017-01-30 18:56:48 -08:00
Joffrey F
62e223208f
Reference new methods in docs
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-30 18:54:18 -08:00
Joffrey F
83b45b7d54
Add prune_networks method
...
Ensure all integration tests use the same version of the busybox image
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-30 18:54:18 -08:00
Joffrey F
89d3803344
Add prune_volumes method
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-30 18:53:46 -08:00
Joffrey F
7f0c2e7531
Add prune_images method
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-30 18:53:46 -08:00
Joffrey F
f2a867f04b
Add prune_containers method
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-30 18:53:46 -08:00
Joffrey F
d3798b157c
Merge pull request #1354 from bfirsh/remote-api-to-engine-api
...
Change "Remote API" to "Engine API"
2017-01-30 12:00:08 -08:00
Joffrey F
39bee3f4be
Merge pull request #1377 from realab/chunked-images-save
...
provide best practice for Image.save
2017-01-30 11:59:30 -08:00
Joffrey F
08aac9d571
Merge pull request #1341 from pacoxu/patch-1
...
Scope is added in volume after docker 1.12
2017-01-30 11:59:00 -08:00
Joffrey F
bf49438a21
Optional name on VolumeCollection.create
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-30 11:55:59 -08:00
Joffrey F
d57c0c3fc2
Merge branch 'patch-2' of https://github.com/rmb938/docker-py into rmb938-patch-2
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-30 11:54:06 -08:00
Ben Firshman
00de2055f9
Change "Remote API" to "Engine API"
...
This is currently inconsistent, but mostly called "Engine API".
For the release of Docker 1.13, this will be "Engine API" all
over the Engine documentation, too.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2017-01-30 17:16:47 +01:00
Joffrey F
d22e2fec6f
Add support for force_update in TaskTemplate
...
Add min version checks in create_service and update_service
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-27 17:19:18 -08:00
Joffrey F
fc5cd1a914
Add support for max_failure_ratio and monitor in UpdateConfig
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-27 16:40:05 -08:00
Joffrey F
847f209865
Add stop_timeout to create_container
...
Fix requires_api_version test decorator
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-27 16:00:18 -08:00
Joffrey F
0186456f3c
Merge pull request #1413 from docker/force_remove_volume
...
Add 'force' parameter in remove_volume
2017-01-26 14:40:00 -08:00
Joffrey F
a24b114af3
Add 'force' parameter in remove_volume
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-26 14:24:52 -08:00
Joffrey F
64519a2b20
Merge pull request #1415 from docker/autoremove_support
...
Add support for auto_remove in HostConfig
2017-01-26 14:24:23 -08:00
Thomas Grainger
0d9adcdfdc
Add cachefrom to build docstring
...
Signed-off-by: Thomas Grainger <tom.grainger@procensus.com>
2017-01-26 11:22:46 +00:00
Thomas Schaaf
686d8e9536
Implement cachefrom
...
Signed-off-by: Thomas Schaaf <schaaf@komola.de>
2017-01-26 11:20:01 +00:00
Joffrey F
848b7aa6a4
Add support for auto_remove in HostConfig
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-25 16:45:59 -08:00
Joffrey F
3e5bb7b0e6
Fix Swarm model init to correctly pass arguments through to init_swarm
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-25 15:28:43 -08:00
Joffrey F
39deace7c6
Merge pull request #1410 from bayazee/master
...
Remove duplicate line in exec_run documentation
2017-01-25 13:13:16 -08:00
Joffrey F
93877241f9
Fix ImageNotFound detection
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-25 12:02:53 -08:00
Mehdi Bayazee
df7e709fb6
Remove duplicate line in exec_run documentation
...
Signed-off-by: Mehdi Bayazee <bayazee@gmail.com>
2017-01-25 13:08:10 +01:00
Joffrey F
e87ed38f69
Ignore socket files in utils.tar
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-24 18:00:42 -08:00
Joffrey F
06e8081799
Convert mode argument to valid structure in create_service
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-19 16:23:32 -08:00
Joffrey F
5f0b469a09
Merge pull request #1398 from docker/docs-fixes
...
Fix a number of docs formatting issues
2017-01-19 16:19:57 -08:00
Joffrey F
bb665257ed
Merge pull request #1393 from aebm/master
...
Fix #1351
2017-01-19 11:55:14 -08:00
Joffrey F
7db5f7ebcc
Merge pull request #1389 from docker/fix-stream-helper
...
Use json_stream function in decoded _stream_helper
2017-01-18 15:40:47 -08:00
Joffrey F
66d5733398
Fix a number of docs formatting issues
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-18 15:38:53 -08:00
Ben Firshman
468bb1c545
Merge pull request #1347 from fcurella/hash
...
Make resources hashable, so that they can be added to `set`s
2017-01-18 16:49:35 +01:00
Alejandro E. Brito Monedero
95b6fddd14
Fix #1351
...
* 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>
2017-01-16 08:48:41 +01:00
Joffrey F
fb6c9a8295
Use json_stream function in decoded _stream_helper
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-11 17:24:50 -08:00
Joffrey F
40089a781c
Detect mount type in parse_mount_string
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-09 15:13:09 -08:00
Joffrey F
180dd69974
Raise InvalidArgument exception when invalid arguments are provided
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-09 14:34:25 -08:00
Joffrey F
155b95d143
Merge branch 'dz-fix-mount_options' of https://github.com/dzimine/docker-py into dzimine-dz-fix-mount_options
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-09 14:19:25 -08:00
Joffrey F
9450442c8c
Accept / as a path separator in dockerignore patterns on all platforms
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-01-06 16:37:15 -08:00
realityone
2ba802dfbe
provide best practice for Image.save
...
Signed-off-by: realityone <realityone@me.com>
2017-01-06 11:44:58 +08:00