use correct apt-key for test.docker.io/ubuntu

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Add some documentation for the RestartPolicy feature.

Signed-off-by: Jean-Paul Calderone <jean-paul@clusterhq.com>
Allow extra lines in /etc/hosts

This adds a --add-host host:ip flag which appends lines to /etc/hosts.  This is needed in places where you want the container to get a different name resolution than it would through DNS.  This was submitted before as #5525, closed, and now I am re-opening.  It has come up 2 or 3 times in the last couple days.

Signed-off-by: Tim Hockin <thockin@google.com>
Merge pull request #8019 from thockin/add-host

Allow extra lines in /etc/hosts
Merge pull request #8073 from ClusterHQ/7743-restart-policy-api-doc

Add some documentation for the RestartPolicy feature.
Merge pull request #8001 from jfrazelle/fix-key-for-test-release-ubuntu

use correct apt-key for test.docker.io/ubuntu
It seems that we need these 2 options enabled for both aufs and devicemapper drivers when running on EXT4 - so test for them

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
hack/install.sh: install apparmor when enabled

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Merge pull request #8080 from SvenDowideit/test-for-ext4-fs-kernel-options

It seems that we need these 2 options enabled for both aufs and devicema...
Merge pull request #8083 from unclejack/install_apparmor

hack/install.sh: install apparmor when enabled
move stdcopy to pkg/stdcopy

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
stdcopy: improve perf by avoiding buffer growth

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)