Files
docker-cli/components/engine/cmd/dockerd
Jhon Honce e97c8e38c0 Ignore SIGPIPE events, resolves #19728
Using golang 1.6, is it now possible to ignore SIGPIPE events on
stdout/stderr.  Previous versions of the golang library cached 10
events and then killed the process receiving the events.

systemd-journald sends SIGPIPE events when jounald is restarted and
the target of the unit file writes to stdout/stderr. Docker logs to stdout/stderr.

This patch silently ignores all SIGPIPE events.

Signed-off-by: Jhon Honce <jhonce@redhat.com>
Upstream-commit: 55a367d2fe2feecf7b95fbddcdcb3ed179c197fe
Component: engine
2016-05-23 15:26:41 -07:00
..
2016-04-26 09:35:22 -07:00
2016-04-26 09:35:22 -07:00
2016-04-26 09:35:22 -07:00

docker.go contains Docker's main function.

This file provides first line CLI argument parsing and environment variable setting.