Fixed bug in utils.mkbuildcontext for BytesIO Dockerfiles
- resetting dockerfile seek position to 0 after dockerfile.getvalue() is called
- prevents traceback on line utils.py line 43
- 'IOError("end of file reached")' in tarfile.py
Should be done for StringIO objects as well
Allow for pull as an option to docker build

Signed-off-by: Derek Hammer <derek.r.hammer@gmail.com>
Fix the order of pull
Merge pull request #421 from hammerdr/docker-build-pull

Allow for pull as an option to docker build
Longer timeout when contacting hub
Better pull confirmation
Don't use old test image (deprecated ID scheme)
Merge pull request #423 from docker/0.6.0-integration

Fixed integration tests
Added forcerm param in Client.build
Merge pull request #271 from robertglen/byteIO-seekfix

Fixed bug in utils.mkbuildcontext for BytesIO Dockerfiles
Added timeout param to Client.wait
timeout param in wait documented
Merge branch 'jseybold-master'
Consume from chunked streams without data loss

Data already in local python buffers was lost when stream socket
fileobject was re-created. We now use http.client to handle the chunk
transfer encoding, and we read only the data from each chunk.

This adds a test harness for stream responses which tries to trigger the
lost-buffer behaviour by responding to the HTTP request in full, as
early as possible.

NB: Python's http.client will close the socket fileobj early if there is
no content length or chunked transfer encoding header. If this happens,
requests/urllib3 will reopen it, but we lose some data which was stored
in buffers.
Devices should be separated by colon separated string

Totally bad test :( (written by me). The documentation and
code should match now. Many thanks to pranavs18 for spotting
the error and proposing the fix.
Run Travis tests on Docker

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Merge pull request #430 from bfirsh/travis-docker

Run Travis tests on Docker
Merge pull request #429 from dims/master

Devices should be separated by colon separated string
* create_container now supports a host_config param
* Deprecation warnings added in Client.start