Commit Graph

1144 Commits

Author SHA1 Message Date
Marko Mikulicic e96ebf8c98 Fix pinging an unauthenticated v2 registry 2015-05-29 00:58:49 +02:00
Darren Shepherd fb2b7078eb Allow extra_hosts to be a list too
The current map syntax does not allow the API equivalent of

    --add-host foo:1.1.1.1 --add-host foo:2.2.2.2

The above will map one hostname to two IPs.  The above is valid in Docker.
2015-05-27 08:46:14 -07:00
Joffrey F cf178ad3b1 Changelog WIP 2015-05-26 16:18:55 -07:00
Joffrey F 7c8e0ed070 Bumped version (rc) 2015-05-26 16:17:57 -07:00
Maxime Petazzoni be73aaf540 Merge pull request #612 from ibuildthecloud/fix-readonly
Typo in ReadonlyRootfs
2015-05-26 08:09:28 -07:00
Darren Shepherd 396af7adbe Typo in ReadonlyRootfs
read_only parameter does not work because the wrong name is sent to Docker
2015-05-25 20:23:29 -07:00
Matt Moore 9881628ff7 Update docker-py to use a more portable sense of HOME.
This makes docker-py consistent with Docker's newish way of establishing the path to .dockercfg:
   https://github.com/docker/docker/blob/master/pkg/homedir/homedir.go
2015-05-21 12:59:38 -07:00
Matt Bogosian 947febcbd8 Move image/container ID resolution to @check_resource decorator. 2015-05-20 15:37:40 -07:00
Joffrey F 7b2fd8cf5e Merge pull request #562 from smothiki/mems
make memory units compatible with native docker cli
2015-05-20 15:37:22 -07:00
Joffrey F 08444cf355 Merge branch 'tonicbupt-privilege' 2015-05-20 14:58:59 -07:00
Joffrey F abbbbfb2d6 Only allow privileged exec_create for API version >= 1.19 2015-05-20 14:58:47 -07:00
Joffrey F e1f93d95c9 Merge branch 'privilege' of https://github.com/tonicbupt/docker-py into tonicbupt-privilege 2015-05-20 14:54:40 -07:00
Joffrey F d600073cef Merge branch 'posita-raise-on-inspect-empty-string-602' 2015-05-20 14:47:27 -07:00
Joffrey F fe12dad21b Separate check_resource inspect tests 2015-05-20 14:46:51 -07:00
Joffrey F 9cdf1dc6ef Fixed check_resource decorator 2015-05-20 14:46:33 -07:00
Joffrey F 86297c825d Merge branch 'raise-on-inspect-empty-string-602' of https://github.com/posita/docker-py into posita-raise-on-inspect-empty-string-602 2015-05-20 14:37:44 -07:00
Joffrey F 4aa2fa649f Merge pull request #606 from bo0ts/patch-1
Remove non-existing argument
2015-05-20 10:14:25 -07:00
Philipp Moeller 488e14c560 Remove non-existing argument
There is no container argument in create_container_config. This is probably a leftover when this was copied from the Client.start documentation
2015-05-20 11:29:39 +02:00
Matt Bogosian de2f58d818 Fix #602. Raise ValueError on empty argument to inspect_{container,image}() methods. 2015-05-17 17:39:25 -07:00
Joffrey F f044b5e3f7 Merge branch 'master' of github.com:docker/docker-py 2015-05-13 13:24:08 -07:00
Joffrey F 62772b56ba Merge branch 'proppy-add-maintainer-file' 2015-05-13 13:23:53 -07:00
Joffrey F f8159087a6 Added Maxime to maintainers 2015-05-13 13:23:34 -07:00
Joffrey F 1991aa9971 Merge branch 'add-maintainer-file' of https://github.com/proppy/docker-py into proppy-add-maintainer-file 2015-05-13 13:22:35 -07:00
Joffrey F 6dd3217c3a Merge pull request #598 from HackToday/fixparameter
Fix the parameter mismatch
2015-05-12 13:37:43 -07:00
HackToday bf00acf854 Fix the parameter mismatch
Closes-Issue: #597
2015-05-12 14:40:12 +08:00
Maxime Petazzoni fc174769aa Fix typo in deprecated insert method. Fixes #595
s/fornat/format/
2015-05-11 09:45:31 -07:00
Joffrey F 329662c53e Merge pull request #593 from docker/deprecate_start_hostconfig
Deprecate start hostconfig
2015-05-08 14:32:42 -07:00
Joffrey F 5af442fb9b Removed instances of using host_config in start from docs and examples 2015-05-08 14:24:53 -07:00
Joffrey F 2fd2eebcb0 Added deprecation warning for host config in start 2015-05-08 14:00:58 -07:00
Joffrey F 8261a9175e Merge pull request #592 from docker/cpusetcpus
Set 'CpusetCpus' with the value of the cpuset param in create_container
2015-05-08 11:42:25 -07:00
Joffrey F 1f74262ab3 unit test 2015-05-08 11:36:14 -07:00
Joffrey F 53aa77fd3a Set 'CpusetCpus' with the value of the cpuset param in create_container 2015-05-08 11:32:36 -07:00
smothiki ef452ed4c1 make memory units compatible with native docker cli
Signed-off-by: sivaram mothiki <smothiki@engineyard.com>
2015-05-07 20:05:32 -06:00
tonic 51dac059eb add privilege for exec_create 2015-05-08 09:25:03 +08:00
Joffrey F f28e90bfab Merge pull request #590 from docker/events_decode_doc
Added documentation for decode param on stats and events
2015-05-07 13:50:28 -07:00
Joffrey F c3a48775b6 Added documentation for decode param on stats and events 2015-05-07 13:38:12 -07:00
Joffrey F 02e771761f Merge pull request #587 from docker/fix-586
Fixes for "make integration-test"
2015-05-06 18:06:32 -07:00
Joffrey F 2fdc433dc0 dev version 2015-05-06 18:04:18 -07:00
Joffrey F 070cbece0a Fixes for #586 2015-05-06 17:53:53 -07:00
Joffrey F bef23feb71 Merge pull request #582 from docker/1.2.2-release
1.2.2 release
2015-05-04 11:50:29 -07:00
Joffrey F b8e950c09e Updated changelog 2015-05-04 11:47:16 -07:00
Joffrey F 0b99e53595 Bumped version 2015-05-04 11:47:07 -07:00
Joffrey F 0b78d7a841 Merge pull request #576 from ctrlhxj/fix_exec_resize
exec_resize is incorrectly passing param as json
2015-04-30 13:13:30 -07:00
Joffrey F 07c37171e4 Merge pull request #577 from pmoosh/master
Update client.py
2015-04-30 13:12:10 -07:00
Joffrey F 1724522f4c back to dev version 2015-04-30 13:09:48 -07:00
Peter Mooshammer a266448b00 Update client.py 2015-04-29 15:30:33 -07:00
Xiaojian Huang b9909c68f9 exec_resize is incorrectly passing param as json 2015-04-28 19:50:15 -07:00
Joffrey F bd5eaedec9 Merge pull request #575 from docker/1.2.1-release
1.2.1 release
2015-04-28 11:44:03 -07:00
Joffrey F e5ce67e72f Bumped version, changelog 2015-04-28 10:48:09 -07:00
Joffrey F f6b816c264 Fix #573 2015-04-28 10:48:09 -07:00