Add a new fig command for retrieving the locally bound port of a service.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Remove fig.packages replace with real deps.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Do less work during integration testing.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Fix the return value of get_tty_width() it should return an int.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Resolves #455 - volumes_from a service with no containers.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
sort DOCKER_CONFIG_KEYS
move service._build_tag_name() to service.full_name in preparation for adding additional tags.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Resolves #213 - support tagging images with different names when they are built.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Resolves #260, #301 and #449
Adds ~ support and ro mode support for volumes, along with some additional validation.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Some additional validation for container ports, and a couple extra test cases.

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>
Merge branch 'replace_packages_with_deps'
Merge branch 'fig_ports.rebase'

Conflicts:
	tests/integration/cli_test.py
Merge branch 'faster_integration_tests'

Conflicts:
	fig/service.py
	tests/unit/service_test.py
Merge branch 'volumes_from_service'

Conflicts:
	tests/unit/service_test.py
Merge branch 'tag_images'

Conflicts:
	tests/unit/service_test.py
Merge branch 'fix_tests_for_docker_1.1'

Conflicts:
	fig/container.py
	tests/unit/container_test.py
Merge branch 'fix_create_container_volumes'

Conflicts:
	fig/service.py
	tests/unit/service_test.py
Bug fixes.
Resolves #213 - support tagging images with different names when they are built.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>