Skip to main content

Options

--help
Show help message and exit.

truss image build

Builds the docker image for a Truss.

Options

--tag
TEXT
Docker image tag.
--help
Show help message and exit.

Arguments

TARGET_DIRECTORY
Optional
A Truss directory. If none, use current directory.
BUILD_DIR
Optional
Image context. If none, a temp directory is created.

truss image build-context

Create a docker build context for a Truss.

Options

--help
Show help message and exit.

Arguments

BUILD_DIR
Optional
Folder where image context is built for Truss.
TARGET_DIRECTORY
Optional
A Truss directory. If none, use current directory.

truss image run

Runs the docker image for a Truss.

Options

--tag
TEXT
Docker build image tag.
--port
INTEGER
Local port used to run image.
--attach
Flag for attaching the process.
--help
Show help message and exit.

Arguments

TARGET_DIRECTORY
Optional
A Truss directory. If none, use current directory.
BUILD_DIR
Optional
Image context. If none, a temp directory is created.