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
The other day I expend some hours trying to investigate why my docker container was not exposing some ports. And understanding that was a docker problem, and not an app problem.
In dockerfile there is expose to say the ports, but ports in docker-compose. Ok, there is a change.
But why cannot say that "warning, expose syntax is not valid in docker-compose, you meant ports?" or something like this?
changed the title [-]improve usability: show warning when invalid information is introduced in .yml file[/-][+]Validate the format of `expose`[/+]on Nov 17, 2015
Activity
dnephin commentedon Nov 17, 2015
Do you have an example of the config that was invalid but didn't raise an error?
Normally you should get a validation error when the config is incorrect.
[-]improve usability: show warning when invalid information is introduced in .yml file[/-][+]Validate the format of `expose`[/+]aanand commentedon Nov 26, 2015
Fix is in #2464.