Michael Sander
b6d9af59cb
Encode the tar ball with gzip
...
Gzipping this tarball can greatly reduce the time it takes to send a docker file.
Signed-off-by: speedplane <mes65@cornell.edu>
2016-03-22 18:13:56 -07:00
Michael Sander
4529dceaaf
Add an option to gzip tar files.
...
This can be used to make building much faster.
Signed-off-by: speedplane <mes65@cornell.edu>
2016-03-22 18:11:50 -07:00
Joffrey F
eecfc7b7f7
Basic release script
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-03-22 17:56:30 -07:00
Joffrey F
4c34be5d4a
Merge branch 'bfirsh-from_env'
2016-03-22 17:23:11 -07:00
Joffrey F
62d6aa59ca
Update mkdocs.yml to reference new Machine page.
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-03-22 17:22:28 -07:00
Joffrey F
c3f76e6e8f
Merge branch 'from_env' of https://github.com/bfirsh/docker-py into bfirsh-from_env
2016-03-22 17:09:24 -07:00
Joffrey F
728748d6a1
Merge pull request #1002 from adityamarella/master
...
Support OomScoreAdj in host configuration
2016-03-22 11:31:45 -07:00
Aditya Marella
7a0e19766b
Support OomScoreAdj in host configuration
...
Signed-off-by: Aditya Marella <aditya.marella@gmail.com>
2016-03-22 10:54:59 -07:00
Gabriel Féron
4ee055852d
Add missing CheckDuplicate parameter to /networks/create API call
...
When set to True, this prevents creating more than one network with the same name (see https://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/#create-a-network )
Signed-off-by: Gabriel Féron <feron.gabriel@gmail.com>
2016-03-22 16:05:22 +01:00
Aanand Prasad
880f8b0c51
Merge pull request #1006 from docker/kwargs_from_env_alt
...
Support passing an alternate environment dict to kwargs_from_env
2016-03-22 10:33:49 +00:00
Kristian Lewis Jones
6eaf8ce721
makes it possible to have '=' in the env file
...
note that the docker command line flag --env-file also allows '=' in the env file
Signed-off-by: Kristian Lewis Jones <klj613@kristianlewisjones.com>
2016-03-22 10:00:47 +00:00
Joffrey F
3fe08cbfe5
Support passing an alternate environment dict to kwargs_from_env
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-03-21 18:17:27 -07:00
Dima Spivak
99b6ec1180
Add support for changes param to ContainerApiMixin.commit
...
docker commit --changes was added to Docker in 1.6.0.
Signed-off-by: Dima Spivak <dima@spivak.ch>
2016-03-21 11:37:14 -07:00
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