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>
This fixes a bug where migration would fail with an error if a
downstream container was migrated before its upstream dependencies, due
to `check_for_legacy_containers()` being implicitly called when we fetch
`links`, `volumes_from` or `net` dependencies.
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
When an upstream dependency (e.g. a db) has a container but a downstream
service (e.g. a web app) doesn't, a web container is not created on
`docker-compose up`.
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
"Define and run multi-container applications with Docker"
Not just development environments, and "complex" is not clear and
not really true.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
- One-off containers were included in the warning log messages, which can
make for unreadable output when there are lots (as there often are).
- Compose was attempting to recreate one-off containers as normal
containers when migrating.
Fixed by implementing the exact naming logic from before we used labels.
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>