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
Joffrey F
e2655f6584
Merge pull request #1162 from cpuguy83/remove_execdriver_refs
...
Remove references to "ExecutionDriver"
2016-08-16 11:29:50 -07:00
Brian Goff
0416338bae
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-16 13:36:42 -04:00
Josh Purvis
7d147c8ca1
Move cpu_shares and cpuset_cpu to HostConfig when API >= 1.18
...
Signed-off-by: Josh Purvis <joshua.purvis@gmail.com>
2016-08-15 16:33:58 -04:00
Joffrey F
a75553b3ca
Add `nodes` and `inspect_node` methods
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-11 17:47:02 -07:00
Daniel Nephin
7de30c3a9b
Merge pull request #1142 from TomasTomecek/dont-url-encode-repository-name
...
docker client consistency: don't quote ':/'
2016-08-10 14:52:07 -04:00
Tomas Tomecek
08b284ab39
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-10 09:30:19 +02:00
Joffrey F
876e7b49da
Merge pull request #1156 from docker/1155-requests-bug
...
Exclude requests 2.11 from setup.py to work around unicode bug
2016-08-09 13:34:53 -07:00
Joffrey F
a28a0d2355
Exclude requests 2.11 from setup.py to work around unicode bug
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-09 13:20:17 -07:00
George Lester
93b4b4134e
Implemented dns_opt support (from api 1.21)
...
Signed-off-by: George Lester <glester491@gmail.com>
2016-08-07 14:23:22 -07:00
Joffrey F
e1774c4c5b
Reference swarm methods in api.md file.
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-04 17:05:25 -07:00
Joffrey F
0f70b6a38b
Add support for custom name in SwarmSpec
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-04 16:48:21 -07:00
Joffrey F
fdfe582b76
Update Swarm API docs
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-04 15:12:43 -07:00
Joffrey F
25db440c96
Update arguments for several Swarm API methods
...
Add Client.update_swarm method
Add test for Client.update_swarm
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-04 15:11:13 -07:00
Joffrey F
df31f9a8ce
Update Swarm documentation
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-03 18:00:52 -07:00
Joffrey F
1f055796a8
Add new init_swarm test with custom spec
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-03 18:00:29 -07:00
Joffrey F
07563cfe3f
Update swarm methods to include newly added parameters
...
Rename swarm methods to be more explicit
Utility methods / types to create swarm spec objects
Integration tests
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-08-03 16:58:26 -07:00