truss image [OPTIONS] COMMAND [ARGS]...

Options

--help

Show help message and exit.

truss image build

Builds the docker image for a Truss.

truss image build [OPTIONS] [TARGET_DIRECTORY] [BUILD_DIR]

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.

truss image build-context [OPTIONS] BUILD_DIR [TARGET_DIRECTORY]

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.

truss image run [OPTIONS] [TARGET_DIRECTORY] [BUILD_DIR]

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.