I had problem when deploy my private docker registry to agent it very slow and sometime also got connection timeout but at the first time I use rancher it very fast and never had connection timeout problem.
and another untested docker ver.18.05.0-ce