.dockerignore.
Usage
Examples
Build an image from the current directory
Use a Dockerfile in a subdirectory
Options
Load image capabilities from a JSON
BlueprintSpec file. The parser accepts JSON with comments.Add commands that run once when a Devbox is first created. Repeat the option to add multiple commands.
Optimize the image after registration. Pass
--optimize=false to defer optimization until startup.Map environment variable names to secret IDs, such as
--secrets DB_PASS=my-secret. Secret mappings take precedence over --env entries.Related topics
Custom images
Write a Dockerfile and use the resulting image.
devbox image list
List registered images.
devbox image wire
Register an image that already exists.