9cbc290f81e57b4983c7903977b9af78ae3fbf9a
From the first glance, `docker logs --tail 0` does not make sense, as it is supposed to produce no output, but `tail -n 0` from GNU coreutils is working like that, plus there is even a test case (`TestLogsTail` in integration-cli/docker_cli_logs_test.go). Now, something like `docker logs --follow --tail 0` makes total sense, so let's make it work. (NOTE if --tail is not used, config.Tail is set to -1) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit dd4bfe30a8ac1b31630310090dc36ae3d9253444) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Upstream-commit: 4427414624c56c459431d3dbbde81f3396cb02b0 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%