 Docker was born at Paxton House, Smethwick, Staffordshire, the son of Ralph Docker and his second wife, Sarah Maria (1830-1890), daughter of horse dealer Richard Sankey.His first wife was Sarah's elder sister, Mary Ann (1826-1849), with whom he had three daughters.Following some years as a widower, Ralph married Sarah, with whom he would have five sons and four daughters.