When I try to docker-compose up with one of my images missing, I get:
Service 'server' needs to be built, but --no-build was passed.
I understand from the documentation that this is indeed what the --no-build option does:
--no-build Don't build an image, even if it's missing
Why is this default behavior and how can my docker-compose up automatically trigger a docker-compose build beforehand?