withHostPort
Method
interface MinioContainerResource { // ... omitted for brevity withHostPort(port: number): MinioContainerResource;}Signature
method
withHostPortbuilderConfigures the host port that the MinIO resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): MinioContainerResourceParameters
portnumberReturns
MinioContainerResourceApplies to
This method applies to the following types: