1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cmd/dockerd
Jhon Honce 55a367d2fe 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>
2016-05-23 15:26:41 -07:00
..
hack Ignore invalid host header between go1.6 and old docker clients 2016-05-19 21:07:45 +02:00
daemon.go Ignore SIGPIPE events, resolves #19728 2016-05-23 15:26:41 -07:00
daemon_freebsd.go Make dockerd debuggable 2016-04-26 09:35:22 -07:00
daemon_linux.go Make dockerd debuggable 2016-04-26 09:35:22 -07:00
daemon_test.go Cleanup the structure of the cli package. 2016-04-27 14:25:47 -04:00
daemon_unix.go Ignore invalid host header between go1.6 and old docker clients 2016-05-19 21:07:45 +02:00
daemon_unix_test.go Cleanup the structure of the cli package. 2016-04-27 14:25:47 -04:00
daemon_windows.go Ignore invalid host header between go1.6 and old docker clients 2016-05-19 21:07:45 +02:00
docker.go Windows: Support running dockerd as a service 2016-04-26 14:04:47 -07:00
docker_windows.go Windows: Support running dockerd as a service 2016-04-26 14:04:47 -07:00
README.md Make dockerd debuggable 2016-04-26 09:35:22 -07:00
service_unsupported.go Windows: Support running dockerd as a service 2016-04-26 14:04:47 -07:00
service_windows.go Windows: Support running dockerd as a service 2016-04-26 14:04:47 -07:00

docker.go contains Docker's main function.

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