Commit Graph

3158 Commits

Author SHA1 Message Date
Joffrey F e6601e2e55 Remove default adapters when connecting through a unix socket.
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-09-08 11:20:48 -07:00
Joffrey F df50df38f9 Merge pull request #1191 from bfirsh/fix-makefile-phony
Add .PHONY for each makefile instruction
2016-09-08 10:12:13 -07:00
Ben Firshman 0648923596
Add .PHONY for each makefile instruction
Makes it much easier to keep this maintained properly. See also:

http://clarkgrubb.com/makefile-style-guide#phony-targets

Replaces #1164

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2016-09-08 15:42:44 +01:00
Joffrey F 717ec945db Merge pull request #1189 from docker/1188-npipesocket-makefile
Handle bufsize < 0 in makefile() as a substitute for default
2016-09-07 18:06:24 -07:00
Joffrey F 0430d00f2f Handle bufsize < 0 in makefile() as a substitute for default
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-09-07 17:49:07 -07:00
Joffrey F a44d65be37 Merge pull request #1187 from bfirsh/fix-broken-mac-address-unit-test
Fix unit test which doesn't do anything
2016-09-07 11:29:48 -07:00
Ben Firshman 0cdf737625
Fix unit test which doesn't do anything
It also overrode the fake API inspect endpoint with a broken
response.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2016-09-07 11:40:19 +02:00
Joffrey F 08da5bfdfc Merge pull request #1092 from docker/1064-import-changes
Add support for changes in import_image*
2016-09-06 16:00:00 -07:00
Joffrey F 75497e0752 Add test for import_image with changes param
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-09-06 15:38:44 -07:00
Joffrey F 65fb5be4cd Add support for changes param in import_image* methods
Reduce code duplication in import_image* methods

Signed-off-by: Joffrey F <joffrey@docker.com>
2016-09-06 15:38:44 -07:00
Joffrey F fab4a06c8a Merge pull request #1181 from docker/credstore-support
Add credentials store support
2016-09-06 15:37:57 -07:00
Joffrey F 219a8699f9 Better credentials store error handling in resolve_authconfig
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-09-06 15:17:36 -07:00
Joffrey F fbe1686e62 Add credentials store support
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-09-06 15:17:36 -07:00
Joffrey F 545c5ac3cc Merge pull request #1184 from bfirsh/fix-licenses
Fix licenses
2016-09-06 10:30:33 -07:00
Joffrey F d9e868ab74 Merge pull request #1185 from bfirsh/make-docs
Add make docs command for building docs
2016-09-06 10:27:35 -07:00
Ben Firshman 291470146f
Add make docs command for building docs
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2016-09-05 19:23:04 +02:00
Ben Firshman 3769c089e8
Fix licenses
* Complete main LICENSE
* Remove unnecessary licenses from individual files

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2016-09-05 17:48:09 +02:00
Joffrey F fff71e9dbf Merge pull request #1180 from kanaka/patch-1
Fix Mount bind type sanity check
2016-09-02 13:43:28 -07:00
Joel Martin 9799c2d69b Fix Mount bind type sanity check
any() expects a single collection argument, not a list of arguments.

Signed-off-by: Joel Martin <github@martintribe.org>
2016-09-02 15:32:52 -05:00
Joffrey F 235964607d Merge pull request #1178 from docker/1105-network-api
Network labels, EnableIPv6 flag, force disconnect
2016-09-01 12:17:28 -07:00
Joffrey F 6552076856 Add support for force disconnect
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-31 18:44:36 -07:00
Joffrey F a665dfb375 Add support for labels and enable_ipv6 in create_network
Tests + docs

Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-31 18:26:16 -07:00
Joffrey F 24bfb99e05 Merge pull request #1167 from docker/1075-from-env-version
Support version parameter in `Client.from_env`
2016-08-25 14:59:46 -07:00
Joffrey F 764d7b38c4 Support version parameter in `Client.from_env`
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-25 14:44:13 -07:00
Joffrey F 2ef02df2f0 Merge pull request #1168 from docker/aiden0z-master
Support pids_limit in HostConfig
2016-08-25 14:38:22 -07:00
Joffrey F 3419145701 Merge pull request #1172 from fermayo/fix-utf8-envvars
Fix creating containers with env vars with unicode characters
2016-08-25 12:41:20 -07:00
fermayo 5bedd32a69 Fix creating containers with env vars with unicode characters
Signed-off-by: Fernando Mayo <fernando@docker.com>
2016-08-25 13:36:02 +02:00
Joffrey F 902c7a76cc Docs and tests for pids_limit.
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-23 17:05:08 -07:00
Joffrey F bf2235bc12 Merge branch 'master' of https://github.com/aiden0z/docker-py into aiden0z-master 2016-08-23 17:02:40 -07:00
Joffrey F fb41965272 Merge pull request #1082 from masci/fix_stream_helper
Invoke self._result passing `json=True` when `decode=True`
2016-08-23 15:34:35 -07:00
Joffrey F d33e069552 Merge branch 'DaoCloud-feature/memory_support' 2016-08-23 15:32:50 -07:00
Kay Yan fc72ac66e9 support MemoryReservation and KernelMemory
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2016-08-23 15:32:06 -07:00
Joffrey F 7b7e07e63b Merge branch 'srikalyan-master' 2016-08-23 15:16:29 -07:00
Joffrey F 797f1edc20 Merge branch 'master' of https://github.com/srikalyan/docker-py into srikalyan-master 2016-08-23 15:16:15 -07:00
Joffrey F 3709c709f3 Merge branch 'joshpurvis-jp-cpushares' 2016-08-23 15:12:48 -07:00
Joffrey F 0e4314a872 Merge branch 'jp-cpushares' of https://github.com/joshpurvis/docker-py into joshpurvis-jp-cpushares 2016-08-23 15:12:30 -07:00
Joffrey F abd461150a Merge pull request #1081 from tescalada/master
1059-Fixing a bug with multiple json objects
2016-08-23 15:10:56 -07:00
Joffrey F 0acdd19665 Merge pull request #1131 from Knetic/dnsopts
Implemented dns_opt support (from api 1.21)
2016-08-23 15:04:25 -07:00
Joffrey F c5a81002c6 Merge pull request #1127 from docker/1085-service-support
Service support implementation
2016-08-23 14:58:43 -07:00
Joffrey F 775b581c04 Private images support in create_service / update_service
Refactor auth header computation

Add tasks methods and documentation.

Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-23 14:52:07 -07:00
Joffrey F 7d5a1eeb7a Add services documentation
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-22 17:45:10 -07:00
Joffrey F f53cdc3a07 Rename LogDriver to DriverConfig for genericity
The class can be used for both log driver and volume driver specs. Use
a name that reflects this.

Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-22 16:11:48 -07:00
Joffrey F 1e2c58de9e Add new pages to mkdocs index
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-19 17:02:33 -07:00
Joffrey F 8e97cb7857 Services API documentation (WIP)
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-19 16:51:39 -07:00
Joffrey F 97094e4ea3 New docker.types subpackage containing advanced config dictionary types
Tests and docs updated to match
docker.utils.types has been moved to docker.types

Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-19 16:51:13 -07:00
Joffrey F 02e99e4967 Service API integration tests
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-17 18:42:52 -07:00
Joffrey F 172e95d52f Swarm service API implementation
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-17 12:21:34 -07:00
Brian Goff 0f47db7fcc Remove references to "ExecutionDriver"
Docker no longer has an `ExecutionDriver` as of Docker 1.11.
The field in the `docker info` API will not be present in 1.13.

Found this while working on docker/docker#25721

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-08-17 12:20:13 -07:00
Tomas Tomecek 3062ae4348 docker client consistency: don't quote ':/'
E.g.

docker client

`/v1.21/images/localhost:5000/busybox/push?tag=`

docker-py

`/v1.21/images/localhost%3A5000%2Fbusybox/push`

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2016-08-17 12:20:13 -07:00
Joffrey F 95d9306d2a Exclude requests 2.11 from setup.py to work around unicode bug
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-17 12:20:13 -07:00