check docker version when using dns

Fixes #238.