mirror of
https://github.com/docker/compose.git
synced 2025-07-23 21:54:40 +02:00
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()
|
container.start()
|
||||||
except APIError as ex:
|
except APIError as ex:
|
||||||
if "driver failed programming external connectivity" in ex.explanation:
|
if "driver failed programming external connectivity" in ex.explanation:
|
||||||
log.warn(
|
log.warn("Host is already in use by another container")
|
||||||
"Port is already in use, check the docker-compose file to see if the same" +
|
|
||||||
" port was allocated to multiple services")
|
|
||||||
raise OperationFailedError("Cannot start service %s: %s" % (self.name, ex.explanation))
|
raise OperationFailedError("Cannot start service %s: %s" % (self.name, ex.explanation))
|
||||||
return container
|
return container
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user