Move TestRunWorkdirExistsAndIsFile to integration-cli

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Move TestRunExit to integration-cli

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Add process for PR acceptance, review, rejection

This is an extremely tentative PR.  However, I feel that the suggestions are generally good.

Docker-DCO-1.1-Signed-off-by: Timothy Hobbs <timothyhobbs@seznam.cz> (github: timthelion)
Merge pull request #7538 from LK4D4/move_some_integration_to_cli

Move some integration to cli
Merge pull request #7359 from timthelion/patch-10

Add process for PR acceptance, review, rejection
fix #7374 leftover

Signed-off-by: Victor Vieux <vieux@docker.com>
Merge pull request #7549 from vieux/fix_leftover

fix #7374 leftover
fix goroutines leak and exit code

Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)

Signed-off-by: Victor Vieux <vieux@docker.com>
Merge pull request #7301 from vieux/fix_goroutines_leak_exit_code

fix goroutines leak and exit code
Restart containers based on restart policy

Signed-off-by: Michael Crosby <michael@docker.com>
Cleanup restart logic in monitor

Signed-off-by: Michael Crosby <michael@docker.com>
Add typed RestartPolicy

Signed-off-by: Michael Crosby <michael@docker.com>
Refactor container monitor into type

Signed-off-by: Michael Crosby <michael@docker.com>
Add documentation and update restart rules.

Implement time backed backoff for restarting and fix failure count when
the maximum is 0

Signed-off-by: Michael Crosby <michael@docker.com>
Update docs based on feedback from review for --restart

Signed-off-by: Michael Crosby <michael@docker.com>
Only restart containers on daemon load with policy of always

Signed-off-by: Michael Crosby <michael@docker.com>
Restart conatiner with on-failure policy if exit code != 0

Signed-off-by: Michael Crosby <michael@docker.com>
Fix rebase around log event

Signed-off-by: Michael Crosby <michael@docker.com>
Move container start event into monitor

Signed-off-by: Michael Crosby <michael@docker.com>
Add additional comments for vague lines

Signed-off-by: Michael Crosby <michael@docker.com>