dotcloud/docker — pull request #6702 by mrunalp (2014-06-26 18:50:12+00:00)
Title: Move setting hostConfig and pulling images into helper functions.

This refactor is being submitted as a separate PR from https://github.com/dotcloud/docker/pull/4548/files.

Docker-DCO-1.1-Signed-off-by: Mrunal Patel (github: mrunalp)