--name or --site, the CLI prompts you to select the missing values.
Usage
Examples
Optimize an image for a site
Options
Include every image version in the interactive picker instead of only the latest version in each repository.
Optimize an image repository directly and skip interactive image selection. If multiple versions exist, the newest matching image is selected.
Related topics
devbox image list
Find available image names.
devbox image build
Build and optimize an image in one command.
Custom images
Learn how image optimization fits the image workflow.