8000 properly parse error message for docker host port detection (#9630) · codeperl/localstack@10940eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 10940eb

Browse files
authored
properly parse error message for docker host port detection (localstack#9630)
1 parent 1d54dc8 commit 10940eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

localstack/utils/docker_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def container_ports_can_be_bound(
155155
remove=True,
156156
)
157157
except Exception as e:
158-
if "port is already allocated" not in str(e):
158+
if "port is already allocated" not in str(e) and "address already in use" not in str(e):
159159
LOG.warning(
160160 "Unexpected error when attempting to determine container port status: %s", e
161161
)

0 commit comments

Comments
 (0)
0