remove extra check
@@ -226,15 +226,6 @@ class DockerContainerDriver(ContainerDriver):
if host.startswith(prefix):
host = host.strip(prefix)
- try:
- socket.setdefaulttimeout(15)
- so = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- so.connect((host, int(port)))
- so.close()
- except:
- raise Exception("Make sure host is accessible "
- "and docker port is specified")
-
super(DockerContainerDriver, self).__init__(key=key,
secret=secret,
secure=secure, host=host,
