docker: using the same client instance on remove instance.
docker: getting docker url from hostname.
docker: getting url from host on remove instance.