mirror of https://github.com/docker/compose.git
UPDATED log message
Signed-off-by: Zuhayr Elahi <elahi.zuhayr@gmail.com>
This commit is contained in:
parent
3135a0a839
commit
8835056ce4
|
@ -624,9 +624,7 @@ class Service(object):
|
|||
container.start()
|
||||
except APIError as ex:
|
||||
if "driver failed programming external connectivity" in ex.explanation:
|
||||
log.warn(
|
||||
"Port is already in use, check the docker-compose file to see if the same" +
|
||||
" port was allocated to multiple services")
|
||||
log.warn("Host is already in use by another container")
|
||||
raise OperationFailedError("Cannot start service %s: %s" % (self.name, ex.explanation))
|
||||
return container
|
||||
|
||||
|
|
Loading…
Reference in New Issue