I want to receive exit codes from docker-compose when receiving Error: log messages
When for example providing an impossible port mapping, the creation fails with Errors in the log:
Creating containername...
ERROR: for containernameCannot create container for service servicename: invalid port specification: "100000"
ERROR: for servicenameCannot create container for service servicename: invalid port specification: "100000" Encountered errors while bringing up the project.
However, the exit code ($?) is 0
Am I missing something?
Does docer-compose creade exit codes?
Best Regards