Commit Graph

1395 Commits

Author SHA1 Message Date
Joffrey F ce8a02f713 Bumped RC
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-01-21 17:50:53 -08:00
Aanand Prasad afc64d3b5c Merge pull request #902 from docker/py32_deprecation
Drop support for python 3.2
2016-01-21 11:35:52 +00:00
Joffrey F ae6069eea7 Drop support for python 3.2
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-01-20 12:02:14 -08:00
Joffrey F 4b8d4358bb Merge pull request #901 from aanand/networking-links
Support links (container-local aliases) when creating containers or connecting to networks
2016-01-20 11:50:33 -08:00
Aanand Prasad 01a754a7f7 Support links when creating containers or connecting to networks
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-01-20 17:47:45 +00:00
Joffrey F 656e6cffb6 1.7.0 release candidate
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-01-18 14:44:47 -08:00
Joffrey F eb1f24a1fc Merge pull request #880 from docker/813-parse-float-bytes
Handle 64-bit integer values in parse_bytes
2016-01-18 14:37:34 -08:00
Joffrey F 8c533bf25e Merge pull request #899 from docker/http-headers-support
Add HttpHeaders support
2016-01-18 14:35:16 -08:00
Pavel Kravchenko 84a72f49e9 Add HttpHeaders support in load_config
Signed-off-by: Pavel Kravchenko <kpavel@il.ibm.com>
2016-01-18 14:29:31 -08:00
Joffrey F cd66f6c6cd parse_bytes: Add ability to handle 64-bit integers in py2
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-01-18 13:53:52 -08:00
Aanand Prasad 57b79cb1e7 Merge pull request #889 from docker/725-devices-format
Improve host devices support
2016-01-18 20:49:59 +00:00
Joffrey F f9b04c1026 Improve host devices support
Add unit tests for utils.parse_devices
Rewrite documentation
Support dict and string format for device declaration

Signed-off-by: Joffrey F <joffrey@docker.com>
2016-01-18 11:38:32 -08:00
Joffrey F 2f2d50d0c7 Merge pull request #898 from docker/https_docs_link
Update HTTPS docs link
2016-01-18 11:27:39 -08:00
Aanand Prasad 36e302cd90 Merge pull request #897 from aanand/network-options
Normalise/fix networking API JSON keys
2016-01-18 19:22:24 +00:00
Joffrey F 426f66af1c Update HTTPS docs link
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-01-18 11:21:12 -08:00
Aanand Prasad 21a5a0a049 Normalise/fix networking API JSON keys
- Use CamelCase
- `auxaddresses` -> `AuxiliaryAddresses`

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-01-18 18:41:18 +00:00
Aanand Prasad bd658f7f7f Merge pull request #895 from aanand/alias
Implement support for network-scoped aliases
2016-01-14 22:05:08 +00:00
Aanand Prasad d00a5bb086 Implement support for network-scoped aliases
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-01-14 18:19:35 +00:00
Daniel Nephin e2878cbcc3 Merge pull request #892 from docker/base_url_none
Don't break if base_url == None and TLS is enabled
2016-01-11 11:18:42 -05:00
Joffrey F 6078040318 Don't break if base_url == None and TLS is enabled
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-01-08 16:41:15 -08:00
Aanand Prasad 62d9964cc1 Merge pull request #818 from rmb938/patch-1
allow custom ipam options when creating networks
2016-01-05 12:55:45 +00:00
Joffrey F 140879d657 Merge pull request #888 from wenchma/18626-sync_inspect_network
Update the test_inspect_network
2016-01-04 18:03:43 -08:00
Ryan Belgrave 67a29441c4 allow custom ipam options when creating networks
Signed-off-by: Ryan Belgrave <rmb1993@gmail.com>
2016-01-04 18:57:11 -05:00
Joffrey F ee0788e4ad Merge pull request #882 from docker/881-hostconfig_doc
Add cpu_quota and cpu_period to the HostConfig documentation
2016-01-04 14:52:23 -08:00
wenchma c424148853 Update docker network inspect test
This is based on https://github.com/docker/docker/pull/18928

Related to docker/docker#18626

Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
2015-12-30 10:43:02 +08:00
Joffrey F 57512760c8 Merge pull request #884 from docker/stop_test_update
Don't expect non-zero exit code when stopping a container
2015-12-23 13:09:20 -08:00
Joffrey F 8b322aea2b Don't expect non-zero exit code when stopping a container
Signed-off-by: Joffrey F <joffrey@docker.com>
2015-12-23 13:01:05 -08:00
Daniel Nephin 3ff27a8f5c Merge pull request #883 from joshpurvis/jp-since-docs
Add docs for since argument in container logs method
2015-12-23 12:41:39 -08:00
Josh Purvis d388abe3b3 Add docs for argument when retrieving container logs
Signed-off-by: Josh Purvis <jpurvis@kwantera.com>
2015-12-23 11:41:59 -05:00
Joffrey F 7724e36e1b Add cpu_quota and cpu_period to the HostConfig documentation
Signed-off-by: Joffrey F <joffrey@docker.com>
2015-12-22 17:43:03 -08:00
Aanand Prasad 9deffc45a1 Merge pull request #863 from thomasboyt/fast-exclude-paths
Don't descend into ignored directories when building context
2015-12-16 16:59:12 +00:00
Aanand Prasad 1dae8ef09a Merge pull request #874 from aanand/fix-index.docker.io
Treat 'index.docker.io' repo names as 'docker.io'
2015-12-16 15:08:55 +00:00
Aanand Prasad 25b188440a Treat 'index.docker.io' repo names as 'docker.io'
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-12-10 12:42:54 +00:00
Aanand Prasad 9b890c4540 Refactor resolve_authconfig tests
The structure of the fake config dictionary was not reflective of what
actual parsed config looks like.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-12-10 12:42:54 +00:00
Aanand Prasad caa64b3f6a Allow overriding of positional args to py.test in tox.ini
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-12-10 12:42:54 +00:00
Joffrey F 59f569a246 Bumped version
Signed-off-by: Joffrey F <joffrey@docker.com>
2015-12-09 17:38:26 -08:00
Joffrey F b094461845 Merge pull request #871 from thaJeztah/update-maintainers
update maintainers file for parsing
2015-12-09 10:47:46 -08:00
Aanand Prasad 6611ffe39d Merge pull request #867 from sumitsahrawat/network-create-options
Allow providing options when creating networks
2015-12-09 16:35:37 +00:00
Sumit Sahrawat 64fdde5ef9 Fix #869: Add docs for network api
Signed-off-by: Sumit Sahrawat <sumit.sahrawat.apm13@iitbhu.ac.in>
2015-12-10 10:29:11 +05:30
Sumit Sahrawat 2981d013a5 Fix remove_volume return value
Signed-off-by: Sumit Sahrawat <sumit.sahrawat.apm13@iitbhu.ac.in>
2015-12-10 10:29:11 +05:30
Sumit Sahrawat bd948be7d9 Allow providing options when creating networks
Following the spec:

    http://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/#create-a-network

I have added an Options argument to create_network.

This opens up the possibility of creating isolated containers with no
internet access programmatically. We require such facilities in
https://github.com/jupyter/tmpnb/issues/187.

Signed-off-by: Sumit Sahrawat <sumit.sahrawat.apm13@iitbhu.ac.in>
2015-12-10 10:29:11 +05:30
Sebastiaan van Stijn 6853af0a64 update maintainers file for parsing
this updates the MAINTAINERS file to the new format,
so that it can be parsed and collected in the docker/opensource
repository.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-12-09 15:37:37 +01:00
Joffrey F 0f091747ec Merge pull request #868 from jstewmon/config-stop-signal
added stop_signal to create container config
2015-12-08 12:47:31 -08:00
Joffrey F bb1ab12f54 Merge pull request #865 from dlorenc/master
Allow utils.tar to take an existing file object.
2015-12-08 12:19:11 -08:00
Thomas Boyt a49166abf2 Improve get_paths performance by not descending into ignored directories
Signed-off-by: Thomas Boyt <thomas@ledgerx.com>
2015-12-08 11:26:25 -05:00
Aanand Prasad 28864df27b Merge pull request #854 from lots0logs/840-add-exception-utility-method-for-create-host-config
840 add exception utility method for create host config
2015-12-04 16:21:53 +00:00
Dustin Falgout e0c6ec0343 incorporate feedback
Signed-off-by: Dustin Falgout <dustin@falgout.us>
2015-12-04 01:27:44 -06:00
Dustin Falgout e0365fcbfb Use new methods to raise exceptions in create_host_config.
Added tests for the new methods.
Closes #840

Signed-off-by: Dustin Falgout <dustin@falgout.us>
2015-12-03 17:19:59 -06:00
Dustin Falgout 5f9f3a4145 resolve merge conflict
Signed-off-by: Dustin Falgout <dustin@falgout.us>
2015-12-03 17:19:59 -06:00
Daniel Nephin 9ebecb5991 Merge pull request #858 from TomasTomecek/improve-exec-api
Improve exec api
2015-12-03 14:16:43 -08:00