docker utility and resource factory for pyramid web application