You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change a port bind in docker-compose.yaml from 4369:4369 to <ip>:4369:4369 (<ip> is a real life external IP which should be the only one with allowed access to that port).
Run docker-compose up
Observed result
docker-compose errors and container fails to start.
Expected result
Container should start successfully and allow connections only on the given IP.
Stacktrace / full error message
Recreating 35e93f062be7_35e93f062be7_docker_statushq_1 ... error
ERROR: for 35e93f062be7_35e93f062be7_docker_statushq_1 Cannot start service statushq: driver failed programming external connectivity on endpoint docker_statushq_1 (79fe33198b8b1933c14706d0bc81dabcfc48111df4fca90d6c2a532a13da28de): Error starting userland proxy: listen tcp <ip>:4369: bind: cannot assign requested address
ERROR: for statushq Cannot start service statushq: driver failed programming external connectivity on endpoint docker_statushq_1 (79fe33198b8b1933c14706d0bc81dabcfc48111df4fca90d6c2a532a13da28de): Error starting userland proxy: listen tcp <ip>:4369: bind: cannot assign requested address
ERROR: Encountered errors while bringing up the project.
Additional information
OS version / distribution, docker-compose install method, etc.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description of the issue
Error when running docker-compose with port bind to external IP address.
Looks related to #3277 but running
systemctl restart docker
as advised there did not help.Context information (for bug reports)
Output of
docker-compose version
Output of
docker version
Output of
docker-compose config
(Make sure to add the relevant
-f
and other flags)Steps to reproduce the issue
docker-compose.yaml
from4369:4369
to<ip>:4369:4369
(<ip>
is a real life external IP which should be the only one with allowed access to that port).docker-compose up
Observed result
docker-compose errors and container fails to start.
Expected result
Container should start successfully and allow connections only on the given IP.
Stacktrace / full error message
Additional information
OS version / distribution,
docker-compose
install method, etc.The text was updated successfully, but these errors were encountered: