If I enable the new option for exposing container ports on local host, I retrieve the following error on recreating a container (with docker-compose up -d), here for example with a container based on neo4j image (but the same error comes also with other images):
ERROR: for neo4j driver failed programming external connectivity on endpoint neo4j (d7386eff5f3e9a4d8e3ecb4ad55a8ea03758e6199c8968cafe780908c3101cd9): Error starting userland proxy: Failed to bind SOCK_STREAM 0.0.0.0:7474 Unix.Unix_error(Unix.EACCES, “bind”, “”)
Traceback (most recent call last):
File “”, line 3, in
File “compose\cli\main.py”, line 63, in main
AttributeError: ‘ProjectError’ object has no attribute 'msg’
docker-compose returned -1
If I disable the option for exposing container ports, the problem is away.