docker sandbox ls

DescriptionList sandboxes
Usagedocker sandbox ls
Aliases
docker sandbox list

Description

List all sandboxes.

This command lists all sandboxes using the Docker API.

Options

OptionDefaultDescription
--no-truncDon't truncate output
-q, --quietOnly display sandbox IDs

Examples

List all sandboxes

$ docker sandbox ls
SANDBOX ID    NAME         WORKSPACE                    CREATED
abc123def     my-project   /home/user/my-project        2 hours ago
def456ghi     ml-work      /home/user/ml-projects       1 day ago

Show only sandbox IDs (--quiet)

--quiet

Output only sandbox IDs:

$ docker sandbox ls --quiet
abc123def
def456ghi

Don't truncate output (--no-trunc)

--no-trunc

By default, long sandbox IDs and workspace paths are truncated for readability. Use --no-trunc to display the full values:

$ docker sandbox ls
SANDBOX ID    TEMPLATE  NAME         WORKSPACE                     STATUS   CREATED
abc123def456  ubuntu    my-project   /home/user/.../my-project     running  2 hours ago

$ docker sandbox ls --no-trunc
SANDBOX ID              TEMPLATE  NAME         WORKSPACE                                          STATUS   CREATED
abc123def456ghi789jkl   ubuntu    my-project   /home/user/very/long/path/to/my-project           running  2 hours ago