build
Build the Docker image for a Truss.
Options
Docker image tag.
Arguments
A Truss directory. Defaults to current directory.
Image context directory. If not provided, a temp directory is created.
build-context
Create a Docker build context for a Truss without building the image.
Arguments
Directory where image context is created.
A Truss directory. Defaults to current directory.
run
Run the Docker image for a Truss locally.
Options
Docker image tag to run.
Local port to expose the model on.
--attach
Attach to the container process.
Arguments
A Truss directory. Defaults to current directory.
Image context directory. If not provided, a temp directory is created.