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