Resolves #455 - volumes_from a service with no containers.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Add container.get() which removes the duplication of container.inspect() in every property, and provides a nicer interface for querying container data.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Fix some tests failing with docker 1.1.2 and add a comment to recreate_container() explaining what it does.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Resolves #43 - sort containers in ps output by name, so services are grouped together.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Merge pull request #483 from dnephin/sort_containers_by_name_in_ps

Sort containers in ps output by name
Fix race condition in cli_test.py

We weren't waiting for the build to finish, causing the rest of the test
to occasionally fail when looking for the image.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Allow pulls from an insecure registry

Signed-off-by: Jason Bernardino Alonso <jalonso@luminoso.com>
Require docker-py 0.5 or later for insecure_registry kwarg

Signed-off-by: Jason Bernardino Alonso <jalonso@luminoso.com>
Merge pull request #501 from aanand/fix-build-error

Fix race condition in cli_test.py
Support setting project name from the environment.

Signed-off-by: Daniel Nephin <dnephin@yelp.com>
Merge pull request #492 from dnephin/project_name_from_env

Support setting project name from the environment
Remove old Travis files

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Make script/test use Docker

Really easy to run entire test suite with Docker now. Also switch
Wercker to use the same script.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Merge pull request #506 from bfirsh/make-test-script-use-docker

Make script/test use docker
Changing to stable debian (wheezy).

Therefore it compiles agains more common version of GLIBC.

Now works out of the box on Debian wheezy, centos:centos6 and other stable
Of course it works on new distributions. Tested with:
    debian:jessie and
    ubuntu:14.04

Signed-off-by: Alexander Holbreich <alexander@holbreich.org>

Conflicts:
	Dockerfile
Run pyinstaller build as normal user

... and test build on CI so we don't break it again!

Fixes #503

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Merge pull request #505 from bfirsh/use-debian-wheezy-base-image

Compile against older version of GLIBC
Merge pull request #460 from dnephin/fix_tests_for_docker_1.1

Fix test failures on docker 1.1.2
Merge pull request #456 from dnephin/volumes_from_service

Fix volumes_from a service with no containers
Add unit test for Service.pull

Signed-off-by: Moss Collum <mcollum@luminoso.com>