Container requirements
A compatible container evaluates one parameter set, emits numeric objectives, and exits. No HyperOptimizer SDK or customer CLI is required inside the image.
Before publishing
Section titled “Before publishing”| Requirement | How to check it |
|---|---|
| The executable remains present when arguments are supplied. | Use an exec-form ENTRYPOINT, or include the executable in the configured command. See command behavior. |
| Each configured parameter reaches the workload. | Run locally with two different values and inspect the result. |
| Dependencies and input data are available. | Test without relying on local filesystem mounts that cloud trials will not have. |
| The run needs no interactive input. | Remove prompts, browser logins, and interactive installers. |
| Every objective is a finite number on stdout. | Match metric names and syntax exactly. |
| The process exits after one evaluation. | Exit 0 for success and nonzero for errors. Do not start a nested optimization loop. |
Image and resource access
Section titled “Image and resource access”Starter and Pro run images from the organization’s Container Images registry. Enterprise can allow external images. Publish the tag before selecting it in the dashboard; see publish an image.
Build for the target platform; the documented CLI build configuration uses linux/amd64. Standard machines provide CPU and memory as listed in machine sizes. Do not assume a GPU, a local data mount, or persistent container storage.
Runtime inputs
Section titled “Runtime inputs”HyperOptimizer supplies parameter arguments and these environment variables:
HYPEROPTIMIZER_TRIAL_IDHYPEROPTIMIZER_EXPERIMENT_IDHYPEROPTIMIZER_ORG_IDUse the trial ID for unique external output paths. Custom environment names cannot use the reserved HYPEROPTIMIZER_ prefix. Keep secret values out of image layers and source-controlled configuration.
Failures and invalid parameter sets
Section titled “Failures and invalid parameter sets”Log the reason and exit nonzero if the evaluation fails. Avoid reporting a fabricated score for missing data or an internal error: that score could guide the search in the wrong direction.
A deliberate penalty for a known invalid configuration is a workload design choice. If you use one, keep it finite, choose the correct direction, and distinguish it from an execution failure in your logs.
Next step
Section titled “Next step”Use the Docker image guide to implement these requirements and debug trials to reproduce a failed run.