Try to avoid issues when the Docker daemon restarts.

This change will allow the Docker daemon's init script to wait up to 5
minutes before being forcibly terminated by the initscript. Many
non-trivial containers will take more than the default 3 seconds to
stop, which can result in containers whose rootfs is still mounted and
will not restart when the daemon starts up again, or worse, orphan
processes that are still running.

Signed-off-by: Steven Merrill <steven.merrill@gmail.com>
tarsum: allow for alternate block ciphers

Not breaking the default cipher and algorithm for calculating checksums,
but allow for using alternate block ciphers during the checksum
calculation.

Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
Initialize execStore while restoring a container from checkpoint.

Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
test for panic on daemon restart

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Merge pull request #8115 from vishh/exec_panic_fix

Initialize execStore while restoring a container from checkpoint.
'an file' -> 'a file' grammar fix

Signed-off-by: Albert Callarisa Roca <albert@acroca.com>
boot2docker shellinit will set any and all env vars needed.

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Merge pull request #8111 from acroca/master

Grammar fix
Merge pull request #8061 from SvenDowideit/document-image-tarball-format

Add a little description of the image tarball format.
Merge pull request #6950 from jfrazelle/6831-check-flag-centos6.5

Fix duplicate iptables rules
Merge pull request #7694 from eyakubovich/master

Add an option to disable IP masquerading
Add support for copy/add with multiple src files

Part one of solution for issue #6820

Signed-off-by: Doug Davis <dug@us.ibm.com>
Merge pull request #8116 from SvenDowideit/use-boot2docker-shellinit

boot2docker shellinit will set any and all env vars needed.
Merge pull request #8091 from jfrazelle/exec-main-manpage

Add docker-exec to main manpage
Automatically clean up hello-world container with --rm

Signed-off-by: Bruno Binet <bruno.binet@gmail.com>
Merge pull request #8076 from duglin/MultiCopyAdd

Add support for copy/add with multiple src files
FIX 6613:launch docker fail with space named drive

Signed-off-by: Guillaume Dufour <guillaume.duff@gmail.com>
Signed-off-by: Tibor Vass <teabee89@gmail.com>
Fix detaching from attached container

Text was copied from man-pages https://raw.githubusercontent.com/docker/docker/master/docs/man/docker-attach.1.md

Signed-off-by: Jyrki Puttonen <jyrkiput@gmail.com>
Fix container wait error message to match server template for returning 404
Addresses #8107

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
Add support for multiple level CLI commands

E.g. "docker groups create" will attempt to call the function
CmdGroupsCreate

Signed-off-by: Ben Firshman <ben@firshman.co.uk>