Refactoring Targets

Prioritize improvements to these files since they have the highest technical debt interest rate.


docker/daemon/daemon.go
docker/container/container.go
docker/integration-cli/docker_cli_run_test.go
docker/integration-cli/docker_cli_build_test.go
docker/api/server/server.go
docker/hack/vendor.sh