- Fix the attach examples according to the new attach behavior
- Add the option of adding the user to docker's group and avoid the usage of "sudo" before each command
- Included the sudo alternative as an example_header
Merge branch 'fix_examples_use_docs' of git://github.com/rogaha/docker into test-2592
Fix typos, add links, streamline content of #2592
Fix tmp dir never cleanup
Fixes #2701. Adds security section.
expunge the word 'Resource' in reference to a file/dir in a CONTAINER - that way users don't wonder how its different from a Path
add an example of what to expect from docker diff, and what the 3 codes mean
add example for docker history
add some common examples for docker images, and tell the user what -a filters out
add example
Vagrantfile modified to support VBoxGuestAdditions_4.3.2
Tiny typo cleanup
Update to go1.2rc5
test: put each arg in a separate string

Each arg to docker run should be placed in a separate string.
Otherwise, when starting the command via exec.Cmd, the command is
interpreted as "echo test", which can't be found.
test: fix TestCreateStartRestartStopStartKillRm

cat needs stdin opened, otherwise it dies immediately.
test: skip TestCreate on Fedora due to lxc utils bug

In the dind environment running on a Fedora host, the lxc utils get
confused by the /sys/fs/cgroup/cpuacct,cpu cgroup mount and lxc-start
fails trying to access the wrong cgroup directory.
test: 2 second timeout (not 2000)
fix container restart race condition

Finish container cleanup before setting the state to stopped.
Otherwise, for an application that exits quickly, a call to Restart
can allow Start to be called again before cleanup is done, resulting in
overritten data in the Container struct.
don't forward SIGCHLD to container

It makes no sense to forward SIGCHLD to the container.