proxy support for docker daemon

Template docker.erb might fail due to me being an dope.