replace 127.0.0.1 by the assigned IP address in the container's /etc/hosts file.
change 127.0.0.1 -> 127.0.1.1 & remove ::1 -> hostname mapping
Do not drop sys_boot

This fixes #2391
Update sysvinit script to fix a few inconsistencies and be more useful/correct downstream
- Added volumes documentation
Make /events API send headers immediately

Go's net/http API does not send headers until the first call to
ResponseWriter.Write().  Ordinarily, this is fine, because in most
cases, responses are returned immediately.  However, for the events
API, nothing is written until some event is sent, which causes
timeouts and/or hangs in some HTTP client APIs, which wait for headers
before returning from the "make request" call.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	container.go
rewrite protocol check with switch-case in Server.Daemon
check port is valid
update docker search to reflect future changes of the api
rebase and add some filters
Container memory limit can be specified in kilobytes, megabytes or gigabytes

    -m 10  # 10 bytes
    -m 10b # 10 bytes
    -m 10k # 10240 bytes (10 * 1024)
    -m 10m # 10485760 bytes (10 * 1024 * 1024)
    -m 10g # 10737418240 bytes (10 * 1024 * 1024 * 1024)

Units are case-insensitive, and 'kb', 'mb' and 'gb' are equivalent to 'k', 'm' and 'g'.
Added explicit Flush method to utils.WriteFlusher
Add myself as an author 7e09c633

One of my patches was incorporated into Docker, and at that time I didn't know that I was supposed to add myself into this list of contributors.

Commit ID: 7e09c6332de11538e170b4d25ccd5bfa068ffd1e

And a few other patches are already in the pipeline.
Add known issues to sections via new "issues" extension.
fix regression in /etc/hosts
Add known issues. Fix build warnings.
Some format and syntax changes.

* Added sudo as per convention to docker commands
* Break the Dockerfile block up
* Redis is a proper noun
* Minor whitespace fixes
A variety of syntax and style fixes for the Docker examples

* Made Docker a proper noun when needed.
* Fixed code syntax
* Fixed some whitespace issues
* Fixed some typos and grammar
* Tidied up some examples
Introduce failing test case for #2089