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>
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>
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>
Error should be 409 as the container is different state to remove

Closes #9569

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.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
registry: remove accidentally added --insecure-registry feature

If `--insecure-registry mydomain.com` was specified, it would match a registry at mydomain.com on any port.
This was accidentally added in #9735 and is now being reverted.

Signed-off-by: Tibor Vass <teabee89@gmail.com>
Make README point to other critical docker++ projects

People might find it hard to find the newer/related Docker projects,
especially when they're just github issues.  So, while I would have
preferred to have this at http://github.com/docker, I couldn't find
a doc to edit to make that happen, so this is the next best spot.

Signed-off-by: Doug Davis <dug@us.ibm.com>
Clarify preferred btrfs-progs dependency and fix some minor inconsistencies

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
Fixing ValidateTagName error message

Signed-off-by: Don Kjer <don.kjer@gmail.com>
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>