Added failing test for importing an image via name instead of src
Implement importing images from an image name instead of src
Updated the port function in order to parse the new NetworkSettings Port dict (fixes #88)
Improved assertions in the port test
Shortened lines
Refactored test. It now makes 2 calls to port
Improves code style
A socket that is wrapped in a file-like object must be set to blocking.
Merge pull request #132 from DevTable/master

A socket that is wrapped in a file-like object must be set to blocking.
Option to disable network when creating container.
Merge pull request #133 from namin/network-disabled-opt

Option to disable network when creating container.
Declare explicitly supported python versions
Merge pull request #134 from ticosax/improve-trove-classification

Declare explicitly supported python versions
Rework auth config loading and use of auth data for login/pull/push

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Merge pull request #120 from mpetazzoni/improve-auth

Rework auth config loading and use of auth data for login/pull/push
Configurable timeout on build(), defaults to None

Many commands used in Dockerfiles hang for an extended period of time
without producing any output, which will result in a socket timeout.
Accordingly, it makes sense for build() to specify no timeout by
default.
Break down _post() parameters one-per-line in build()
Handle tcp:// URLs

This means docker-py will do the Right Thing if the base url is set
using the new `DOCKER_HOST` environment variable, for example.
(http://docs.docker.io/en/latest/commandline/cli/)
Merge pull request #139 from aanand/no-timeout-on-build

Configurable timeout on build(), defaults to None
Accept base_url of None

This makes it very simple to get identical behaviour to the CLI:

    client = Client(os.environ.get('DOCKER_HOST'))