all other docker options to be passed into spawn function
adding option to set hostPort for ports that are exposed