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
fe12dad21b
Separate check_resource inspect tests
2015-05-20 14:46:51 -07: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
329662c53e
Merge pull request #593 from docker/deprecate_start_hostconfig
...
Deprecate start hostconfig
2015-05-08 14:32:42 -07:00
Joffrey F
2fd2eebcb0
Added deprecation warning for host config in start
2015-05-08 14:00:58 -07:00
Joffrey F
1f74262ab3
unit test
2015-05-08 11:36:14 -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
Joffrey F
070cbece0a
Fixes for #586
2015-05-06 17:53:53 -07:00
Xiaojian Huang
b9909c68f9
exec_resize is incorrectly passing param as json
2015-04-28 19:50:15 -07:00
Joffrey F
f6b816c264
Fix #573
2015-04-28 10:48:09 -07:00
Joffrey F
7958110fda
Added unit tests for container limits in build
2015-04-27 16:36:15 -07:00
Joffrey F
ae329cb3ac
* Separate file to store constants
...
* Added container_limits param to Client.build
2015-04-27 16:24:42 -07:00
Joffrey F
e337a2317e
Updated exec API documentation
2015-04-27 14:11:43 -07:00
Joffrey F
e2ad91bdf7
Exec API tests
2015-04-27 13:57:15 -07:00
Joffrey F
c2d48652ce
Added check_resource decorator to interrupt command if container or image argument is None
2015-04-24 15:56:35 -07:00
Joffrey F
c7948436e5
Added tests for log_config param
2015-04-24 15:10:51 -07:00
Joffrey F
6228929a88
Handle ID truncate on client side in containers list (and changed default from True to False)
2015-04-22 18:00:53 -07:00
Joffrey F
c328be7deb
revert
2015-04-22 17:45:56 -07:00
Joffrey F
d0a49ec3b8
Added integration test
2015-04-22 17:43:36 -07:00
Joffrey F
d71bfb1b3d
Improved ulimit tests
2015-04-22 15:45:49 -07:00
Joffrey F
803b37bc2e
assertRaises 2.6 compat
2015-04-22 15:19:01 -07:00
Joffrey F
84fdd2925d
Add tests for ulimits
2015-04-22 15:13:38 -07:00
Joffrey F
c7511481a6
BaseTestCase shims assertIn
2015-04-22 15:11:55 -07:00
Joffrey F
a5519022d9
Merge branch 'sam/import-improvements' of https://github.com/ssssam/docker-py into ssssam-sam/import-improvements
...
Conflicts:
docker/client.py
docker/unixconn/unixconn.py
tests/integration_test.py
2015-04-22 11:50:45 -07:00
Yuval Kohavi
605fc7e04f
line length
...
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
2015-04-11 07:20:43 -05:00
Yuval Kohavi
b33052b393
python 2.6 compatible
...
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
2015-04-11 07:17:28 -05:00
Yuval Kohavi
278e801b89
Adding port utils to split port ranges
...
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
2015-04-03 17:23:50 +03:00
Joffrey F
2f6579bf59
Use assertRaises in a backward compatible fashion
2015-03-25 16:07:16 -07:00
Joffrey F
6e0b5a8d70
Added assertIn shim for py2.6
2015-03-25 16:02:46 -07:00
Joffrey F
b097d19f2f
docs and unit test for security_opt
2015-03-25 15:40:14 -07:00
Aanand Prasad
bd72bd13c7
Finish labels implementation, add tests and docs
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-03-20 15:42:10 -07:00
Aanand Prasad
014dba2841
Update default API version to 1.18
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-03-20 14:49:42 -07:00
Joffrey F
7d5c1efbbe
Fix unit tests
2015-03-05 12:16:53 -08:00
Joffrey F
acfa99dd10
Auto-detect integration tests
2015-03-05 12:08:41 -08:00
Tomas Tomecek
3e0496cc16
detect server version when version="auto"
...
heavily inspired by PR#281
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2015-03-05 08:53:29 +01:00
Roman Mohr
a86bfffd89
Properly close files and sockets in unit tests
2015-02-28 21:03:15 +01:00
Joffrey F
39ee5981b4
Merge pull request #502 from cpuguy83/498_dockerignore_special_names
...
Add special cases for .dockerignore
2015-02-27 11:56:19 -08:00
Joffrey F
91985b2397
Merge pull request #509 from docker/lxc_driver_test_compat
...
Lxc driver test compat
2015-02-27 11:48:36 -08:00
Joffrey F
0fae821350
Merge pull request #508 from docker/de-i11003
...
Rename test fix to take into account docker/docker#11003
2015-02-27 11:47:57 -08:00
Aanand Prasad
b1a858a14d
Update resolve_authconfig to bring it in line with Docker client
...
Instead of expanding the registry name we're looking for to a full URL,
strip entries in the authconfig down to just the hostname.
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-02-27 13:10:20 +00:00
Joffrey F
8d2b71fa7e
I suck at python
2015-02-26 17:54:19 -08:00
Joffrey F
e255c10f57
Ensure integration tests work with LXC exec driver
2015-02-26 17:39:44 -08:00
Joffrey F
21cc9916fd
Rename test fix to take into account docker/docker#11003
2015-02-26 17:16:36 -08:00
Brian Goff
ce40730b42
Add special cases for .dockerignore
...
Fixes #498
Allowing `Dockerfile` and `.dockerignore` in the exclusion filter
completely breaks the build on docker < 1.5
In Docker 1.5 these entries are treated as special cases when included
in the .dockerignore and are still sent as part of the context. The
daemon ends up excluding them from any `ADD`, `COPY`, and cache
validation.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2015-02-24 15:48:51 -05:00
Daniel Nephin
0713488fac
Resolves #497 - add support for dockerfile
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2015-02-20 21:20:21 -05:00
Tianon Gravi
7f49cf1279
Fix several DOCKER_HOST assumptions in integration_test.py
2015-02-16 16:42:34 -07:00
Joffrey F
7084802da2
Fix pep8 error
2015-02-16 10:56:08 -08:00
Joffrey F
c02f0ab723
Formatting
2015-02-12 15:54:16 -08:00
Joffrey F
1a7e3a2d6d
Merge branch 'add-stats-api-support' of https://github.com/nir0s/docker-py into nir0s-add-stats-api-support
2015-02-12 13:15:59 -08:00
nir0s
c50795a08a
minor
2015-02-12 10:01:42 +02:00