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
And this will flag and fail if there are any warnings present. This would be very valuable to have in CI, and something that Compose could make convenient for Compose projects:
docker compose build --check
This would output the same as docker build --check . for each service that is built and return a failing status code if any do not pass the checking.
The text was updated successfully, but these errors were encountered:
Description
I noticed when running
docker compose build
on a project that some warnings were printed in the outputI found that the base
docker
command supportsAnd this will flag and fail if there are any warnings present. This would be very valuable to have in CI, and something that Compose could make convenient for Compose projects:
This would output the same as
docker build --check .
for eachservice
that is built and return a failing status code if any do not pass the checking.The text was updated successfully, but these errors were encountered: