def METHOD_NAME(self):
    self.minio = DockerContainer(self.minio_image)
    self.minio.with_exposed_ports(9000).with_exposed_ports(9001).with_env(
        "MINIO_ROOT_USER", self.access_key
    ).with_env("MINIO_ROOT_PASSWORD", self.secret).with_command(
        'server /data --console-address ":9001"'
    )
    self.minio.start()
    log_string_to_wait_for = (
        "API"  # The minio container will print "API: ..." when ready.
    )
    wait_for_logs(container=self.minio, predicate=log_string_to_wait_for, timeout=5)