Make sure up/restart/stop timeout is an int
(cherry picked from commit c7dccccd1fa4dc2fe6f65d4a839a16567adbee9d)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Show an error on 'run' when there are legacy one-off containers
(cherry picked from commit 81707ef1ad94403789166d2fe042c8a718a4c748)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Fix smart recreate when 'image' is changed to something nonexistent
(cherry picked from commit 2bc10db5451ec8e69119997061b0ba5c692feb90)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Fix bug where duplicate container is leftover after 'up' fails
(cherry picked from commit f42fd6a3ad17cf9688e709bfed1639196777a342)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Stop 'rm' and 'ps' listing services not defined in the current file
(cherry picked from commit d85688892cb64128093db98d6f03d97ff8bd0e40)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Validate that service names passed to Project.containers aren't bogus.
(cherry picked from commit bc14c473c97af14ed150160fe84d23fcb05fe4e2)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Explicitly set pull=False when building
(cherry picked from commit 4f83a1891259bd821efb6c8f2332f06405e88732)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Don't set network mode when none is specified
(cherry picked from commit 911cd60360ceef2a4c4c4e53b661679a4f1bc48a)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Fixing docker-compose port with scale (#667)
(cherry picked from commit 5b2a0cc73d104340964b299c11723e465ea7c112)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Update setup.py with new docker-py minimum
(cherry picked from commit b3b44b8e4c7ee7463136bb13cf6c3d759e6d87e9)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Updated for new documentation tooling
(cherry picked from commit aaccd12d3df2ab64f44db5c6cd8bae282a314419)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Make it possible to run tests remotely
(cherry picked from commit c8e096e0895cb3589c4699daa44c299ea23f790c)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Fix markdown formatting for `--service-ports` example
(cherry picked from commit d64bf88e26f7b1ce097a6b475799364720bcb6cb)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Change kill SIGINT test to use SIGSTOP
(cherry picked from commit a15f996744b4005441b289f6b3fb4eef551b5214)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Add image affinity to test script
(cherry picked from commit 4c2112dbfd4da219f2585569b716b59f7562b034)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Correct misspelling of "Service" in an error message
(cherry picked from commit bd246fb011aa6805d57eb31d641e3c072c072d63)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Run tests against Docker 1.7 RC2
(cherry picked from commit 0e9ccd36f3c672902a5241f557ed81df19255ccc)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Docs: Update boot2docker shellinit example to use 'eval'
(cherry picked from commit 17e03b29f9381a10f08e551f0c88899b7961664f)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Test that data volumes now survive a crash when recreating
(cherry picked from commit 87c30ae6e48c2341593b03770089e3ff86108881)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Support --x-smart-recreate in bash completion
(cherry picked from commit 9a0bb325f2d1203b7aac915c3bfca4347cc93489)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Possible division by zero error when pulling an image - fixes#1463
(cherry picked from commit d0e87929a1f39b4e98c2c8497f3f0ffc09fb9e43)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>