Add docker-py integration tests aginst the docker daemon

This clones and run the integration tests for docker-py master as part
of the integration tests created on master.  docker-py hits the api
directly and should be a good way to identify regressions in the api.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
registry: add tests for unresolvable domain names in isSecure

Signed-off-by: Tibor Vass <teabee89@gmail.com>
registry: handle unresolvable domain names in isSecure
to allow HTTP proxies to work as expected.

Fixes #9708

Signed-off-by: Tibor Vass <teabee89@gmail.com>
pkg/graphdb: use transactions for transactions

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
Merge pull request #9746 from unclejack/graphdb_fix

pkg/graphdb: use transactions for transactions
Revert doc changes from #9652

Because the patch is not in 1.4, the v1.16 docs shouldn't have been
updated. Docs were promoted to v1.17 by #9742.

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
pkg/units: fix size_test.go compilation

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
Merge pull request #9751 from unclejack/revert_9233

Fix pkg/units compilation of size_test
Tweak test-docker-py feature

- move docker/docker-py clone to the Dockerfile
- put "integration test daemon startup" code in a separate file for both scripts to source
- add new test-docker-py Makefile target
- include "python-websocket" package in Dockerfile for running the tests

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
Merge pull request #9735 from tiborvass/fix-issecure-for-http-proxies

Handle unresolvable domain names in isSecure to allow HTTP proxies to work as expected
Merge pull request #9741 from tianon/test-docker-py

Add docker-py integration tests aginst the docker daemon
Enable test-integration-cli for Windows platform

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Move per-container forward rules to DOCKER chain

Docker-DCO-1.1-Signed-off-by: Ian Bishop <ianbishop@pace7.com> (github: porjo)
Create DOCKER forward chain on driver init

Docker-DCO-1.1-Signed-off-by: Ian Bishop <ianbishop@pace7.com> (github: porjo)
Create tests for pkg/iptables

Docker-DCO-1.1-Signed-off-by: Ian Bishop <ianbishop@pace7.com> (github: porjo)
Update networking.md with new iptables behaviour

Docker-DCO-1.1-Signed-off-by: Ian Bishop <ianbishop@pace7.com> (github: porjo)
Tidy driver.go/LinkContainers

Docker-DCO-1.1-Signed-off-by: Ian Bishop <ianbishop@pace7.com> (github: porjo)
bump Go to 1.4

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
Reinstall standard library with netgo

Fixes #9449

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Fix TestBuildWithTabs for go 1.4

Signed-off-by: Alexander Morozov <lk4d4@docker.com>