Privileged option is part of host config, not config
Restore disabling timeout on image pull

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Ensure sorted order on links to make unit test deterministic

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Fix under-indented line

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Correctly pass the response parameter to the HTTPError constructor

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
fix auth ping to https
Fix readme.md documentation for the 'volume' arg in create_container

Correct syntax is volumes={"/some/mount/point": {}}, not volumes={"/some/mount/point": ""}.
Update README.md

Derp. Removed extra space.
rebased and updated the README
Simplified port bindings and volume mapping
Flake8 fix
Added failing test for importing an image via name instead of src
Implement importing images from an image name instead of src
Fix _stream_helper

The stream helper that yields the streamed status for push, pull and
build operations was reading data in chunks of 4096 bytes but didn't
support buffering and thus didn't behave well when more than 4096 bytes
were received at once from the socket.

This implementation uses makefile() to get a file object from the socket
on which we can use readline() so we can read line by line the
chunked-encoding data streamed to us by the Docker daemon.

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Merge pull request #117 from mpetazzoni/fix-streaming

Fix _stream_helper
Improved port binding conversion rules, fixed bugs, added unit tests
Merge pull request #115 from dotcloud/port_volumes

Simplified port bindings and volume mapping
Updated changelog, bumped version in setup.py
Log streaming and correct decoding of multiplexed log streams

Implement log streaming with the stream parameter on logs(), returning a
generator of log lines based on the selected streams (stdout/stderr).
Also correctly decode the multiplexed log streams (current version was
buggy).

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Fixed indentation