Daniel Nephin
5c1c42397c
Merge pull request #997 from wenchma/21080-net_link
...
Remove the network mode to support linkable cantainers check
2016-03-21 11:52:57 -04:00
wenchma
6fa76e01a4
Remove the network mode to support linkable cantainers check
...
Partially related to issue #21080
Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
2016-03-21 10:25:08 +08:00
Aanand Prasad
81edb398eb
Merge pull request #999 from docker/tcp-to-https-parsehost
...
If TCP host is provided while TLS is enabled, convert to https
2016-03-18 12:44:36 +00:00
Joffrey F
3168149cbf
If tcp host is provided while TLS is enabled, convert to https
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-03-17 16:18:37 -07:00
Joffrey F
41acd70fd4
Merge pull request #995 from docker/default-version-1.22
...
Update default API version to 1.22
2016-03-16 19:55:42 -07:00
Daniel Nephin
8c4546f8c8
Merge pull request #994 from aanand/janLo-tmpfs-support
...
tmpfs support
2016-03-16 21:47:17 -04:00
Joffrey F
5ace6204b4
Update default API version to 1.22
...
Update engine version used for integration tests
IP address configuration tests needed tweaking
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-03-16 17:52:39 -07:00
Aanand Prasad
e576417217
Add tmpfs doc to mkdocs.yml
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-03-16 18:27:44 +00:00
Aanand Prasad
7417bc2cce
Don't support tmpfs in API version < 1.22
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-03-16 17:37:54 +00:00
Aanand Prasad
4ffa1be825
Add tmpfs integration test
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-03-16 17:28:10 +00:00
Aanand Prasad
a054509269
Reword tmpfs documentation
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-03-16 15:07:53 +00:00
Aanand Prasad
07455a6a3c
Clarify error messages when bad values are passed in for tmpfs
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-03-16 14:54:32 +00:00
Jan Losinski
88ef5f3630
Add documentation for the Tmpfs Hostconfig option.
...
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2016-03-16 14:47:40 +00:00
Jan Losinski
72446b47c0
Add unittest for the Tmpfs Hostconfig option
...
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2016-03-16 14:47:40 +00:00
Jan Losinski
9e94070887
Add support for Tmpfs declaration in Hostconfig.
...
This adds support for the Tmpfs option introduced in Docker 1.10.
See: https://github.com/docker/docker/pull/13587
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2016-03-16 14:47:40 +00:00
Ben Firshman
8991ba7cce
Add docker.from_env() shortcut
...
A much neater way of getting started with docker-py.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2016-03-15 11:24:25 -07:00
Joffrey F
7befe694bd
Merge pull request #988 from docker/tls-fixes
...
Fix enable_tls issue
2016-03-15 10:37:29 -07:00
Joffrey F
8e93abf271
Merge branch 'master' into tls-fixes
2016-03-15 10:35:53 -07:00
Joffrey F
fa7068cb7c
Merge pull request #990 from docker/docker-21153
...
Invalid log driver error raised during create_container step
2016-03-14 17:20:57 -07:00
Joffrey F
d4c17859a3
Invalid log driver error raised during create_container step
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-03-14 15:05:47 -07:00
Joffrey F
ad480ff0b1
Fix enable_tls issue #984
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-03-11 12:27:24 -08:00
Joffrey F
d8be3e0fce
Merge branch 'mdaue-935'
2016-03-09 14:25:12 -08:00
Joffrey F
b7b0fa6aff
Merge branch '935' of https://github.com/mdaue/docker-py into mdaue-935
2016-03-09 14:24:54 -08:00
Joffrey F
efc949a3df
Merge pull request #977 from TomasTomecek/put-test-data-to-dist
...
include unit test data in dist tarball
2016-03-08 12:18:15 -08:00
Tomas Tomecek
e6a81a1d05
include unit test data in dist tarball
...
Fixes #976
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2016-03-08 13:33:17 +01:00
Joffrey F
eb624e2c50
Merge pull request #971 from docker/963-tlsv1-default
...
Use protocol TLS v1.0 by default when none is set.
2016-03-03 12:11:58 -08:00
Vitaly Isaev
8dd9d1d66e
Fix UnixHTTPConnectionPool's superclass initialization
...
Signed-off-by: Vitaly Isaev <vitalyisaev2@gmail.com>
2016-03-03 22:41:49 +03:00
Matt Daue
d4a5bc4a86
Add ip4&ip6 ( #935 ) support, network/id/connect
...
Signed-off-by: Matt Daue <mattdaue@gmail.com>
- Implement check to validate API ver is >= 1.22 for new feature
- Includes patch @elchris82: Changed network in data dict to IPAMConfig as needed from the API. See https://github.com/docker/docker/issues/20732
- Update unit test for container attach to net
- Update integration tests
- Add integration test for IP setting
Signed-off-by: Matt Daue <mattdaue@gmail.com>
2016-03-02 20:38:37 -05:00
Joffrey F
f4114274d6
Use protocol TLS v1.0 by default when none is set.
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-03-02 15:01:30 -08:00
Aanand Prasad
062c76d8b2
Merge pull request #970 from marshyski/master
...
Updated stat networks print output
2016-03-02 11:13:59 -08:00
Tim Ski
d7af8d79a4
Updated stat networks print output Signed-off-by: Tim Marcinowski <marshyski@gmail.com>
2016-03-02 11:34:36 -05:00
Joffrey F
4e67d4d9bf
Merge pull request #968 from atopuzov/decode_on_push_and_pull
...
Use decode on push and pull operations.
2016-03-01 11:17:04 -08:00
Aleksandar Topuzovic
08629f3b8e
Use decode on push and pull operations.
...
Stream helper has the ability to decode the responses from strings to
JSON. This commit enables this functionality on push and pull operations.
Signed-off-by: Aleksandar Topuzovic <aleksandar.topuzovic@gmail.com>
2016-03-01 11:54:14 +00:00
Joffrey F
81d8caaf36
Merge pull request #916 from docker/container_update_feature
...
Support for container limits update
2016-02-24 18:00:06 -08:00
Joffrey F
cdf6dc8c3c
Merge pull request #942 from seguins/934-separate-stream-follow-logs
...
Separate params stream and follow for logs.
2016-02-24 16:04:42 -08:00
Daniel Nephin
44555f323f
Merge pull request #958 from dnephin/oops_fix_empty_env_vars_again
...
Fix env vars with empty values
2016-02-24 15:55:58 -08:00
Daniel Nephin
3bad04649d
Fix env vars with empty values.
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2016-02-24 15:36:21 -08:00
Joffrey F
507503cdfa
Merge pull request #952 from dnephin/fix_empty_env_vars
...
Format environment variables to match docker-cli.
2016-02-24 15:28:53 -08:00
Joffrey F
7214ab0864
Merge pull request #954 from bfirsh/better-documentation-link
...
Readme improvements
2016-02-24 11:52:36 -08:00
Ben Firshman
d86f8a0342
Improved description
...
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2016-02-24 14:05:08 +00:00
Ben Firshman
cdca7da3a2
Improved documentation link copy
...
It's a little thing, but this made me hesitate before clicking the
link because I thought I would be going to the Read the Docs
home page, not the docker-py documentation.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2016-02-24 13:57:09 +00:00
Daniel Nephin
d9d84ce8d1
Format environment variables to match docker-cli.
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2016-02-23 16:30:26 -08:00
Joffrey F
7440603d98
Improve parse_bytes util method
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-02-23 16:18:45 -08:00
Joffrey F
03279ff9a3
update_container now supports string values
...
for mem_limit, memswap_limit, kernel_memory and mem_reservation
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-02-23 16:18:36 -08:00
Joffrey F
a710fbf60a
Unit test for Client.update_container method
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-02-23 16:18:36 -08:00
Joffrey F
6f6d0890a4
Documentation for Client.update_container method
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-02-23 16:18:36 -08:00
Joffrey F
c3ba50c98d
New `update_container` method
...
Allows user to update container limits in-flight.
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-02-23 16:18:36 -08:00
Joffrey F
aa651f80b1
Back to dev version
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-02-23 16:17:10 -08:00
Joffrey F
cc399d22b4
Merge pull request #951 from docker/1.7.2-release
...
Prepare 1.7.2 release
2016-02-23 15:07:37 -08:00
Joffrey F
287ab93399
Prepare 1.7.2 release
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-02-23 15:02:11 -08:00