1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server/router
Boaz Shuster 60b4db7eb1 Change the quiet flag behavior in the build command
Right now, the quiet (-q, --quiet) flag ignores the output
generated from within the container.

However, it ought to be quiet in a way that all kind
of diagnostic output should be ignored, unless the build
process fails.

This patch makes the quiet flag behave in the following way:
 1. If the build process succeeds, stdout contains the image ID
    and stderr is empty.
 2. If the build process fails, stdout is empty and stderr
    has the error message and the diagnostic output of that process.

If the quiet flag is not set, then everything goes to stdout
and error messages, if there are any, go to stderr.

Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
2015-12-21 16:38:50 +02:00
..
build Change the quiet flag behavior in the build command 2015-12-21 16:38:50 +02:00
container Merge pull request #18721 from tiborvass/remove-dependencies-from-builder 2015-12-18 17:19:55 +01:00
local Create build router separate from image router. 2015-12-17 16:56:11 -08:00
network Move filters package to the API. 2015-12-15 18:13:26 -05:00
system Merge pull request #15964 from duglin/APIVersion 2015-12-16 14:23:47 -08:00
volume Modify improper comments in api/server/router/volume/volume.go 2015-11-08 04:05:59 +00:00
router.go Network remote APIs using new router, --net=<user-defined-network> changes 2015-10-07 03:54:19 -07:00