Use a custom image when the built-in base images are close, but not enough. The CLI packages a local Docker image, uploads it, starts the remote Firecracker image build, and waits for the result.Documentation Index
Fetch the complete documentation index at: https://hyperbrowser.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Custom image builds are currently CLI-first. You need Docker available on the machine running
hx image build.Build A Custom Image
- Exports your local Docker image.
- Compresses the archive locally.
- Uploads it to the Hyperbrowser artifact store.
- Starts and polls the remote image build until it completes, fails, or is canceled.
Launch A Sandbox From The Custom Image
After the image build completes, use the registered image name in normal sandbox creation flows.List Available Images
Image Init Defaults
hx image build can attach launch-time defaults to the image.
Use --env KEY=VALUE to set default environment variables.
Use --entrypoint '...' to define the default startup command for sandboxes launched from that image.
Custom images do not pick up the docker defined entrypoint or the env. You must pass in the —entrypoint parameter when building the image to start the command, and the —env parameter to set the environment variables.