Rewrite ENTRYPOINT documentation covering all the combinations with examples.

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
save start error into State.Error

when a container failed to start, saves the error message into State.Error so
that it can be retrieved when calling `docker inspect` instead of having to
look at the log

Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com> (github: dqminh)
Port number 49153(BeginPortRange) would be returned twice, causing duplication and potential errors.

If we first request port 49153 (BeginPortRange) explicitly, and later some time request the next free port (of same ip/proto) by calling RequestPort() with port number 0, we will again get 49153 returned, even if it's currently in use. Because findPort() blindly retured BeginPortRange the first run, without checking if it has already been taken.

Signed-off-by: shuai-z <zs.broccoli@gmail.com>
added test, gofmtd

Signed-off-by: shuai-z <zs.broccoli@gmail.com>
Fix error string mapping to HTTP response code to ignore case

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
Removed James' email address

Changed email address for abuse reports from James to abuse@
Fix volume test using "find" to properly call find with /hello path

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
Up test timeout to 10s based on recent drone.io timeout failures

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
Update libcontainer to aab3f6d17f2f56606f07f3a6eb6

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Merge pull request #8733 from estesp/error-string-http-status-fix

Fix error string mapping to HTTP response code to ignore case
Merge pull request #8735 from estesp/fix-test-timeout-on-drone

Up test timeout to 10s based on recent drone.io timeout failures
Gracefully handle network bridge without IP association at startup
Addresses #8444

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
Merge pull request #8736 from crosbymichael/update-libcontainer-oct3

Update libcontainer to aab3f6d17f2f56606f07f3a6eb6
Allowing resize tty to only work when container is started
Addresses #8728

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
Use code generation to set IAMSTATIC instead of -X

Signed-off-by: Michael Hudson-Doyle <michael.hudson@linaro.org>
use code generation for GITCOMMIT/VERSION too

Signed-off-by: Michael Hudson-Doyle <michael.hudson@linaro.org>
finally, use code generation for INITSHA1 & INITPATH too

Signed-off-by: Michael Hudson-Doyle <michael.hudson@linaro.org>
Merge pull request #8453 from estesp/8444-create-bridge-error

Gracefully handle network bridge without IP association at startup
Merge pull request #8737 from brahmaroutu/resize_uponstart_8728

Allowing resize tty to only work when container is started
Merge pull request #8671 from shuai-z/master

Port number 49153(BeginPortRange) would be returned twice, causing dupli...