add docs and builder for host port mapping func