From 8835056ce46dd680ecb5d6015e183b17c3815772 Mon Sep 17 00:00:00 2001 From: Zuhayr Elahi Date: Wed, 9 Oct 2019 12:02:18 -0700 Subject: [PATCH] UPDATED log message Signed-off-by: Zuhayr Elahi --- compose/service.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compose/service.py b/compose/service.py index f036826f6..638cd71e5 100644 --- a/compose/service.py +++ b/compose/service.py @@ -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