Share feedback
Answers are generated based on the documentation.

docker sandbox ls

内容説明List sandboxes
利用方法docker sandbox ls
エイリアス
docker sandbox list

内容説明

List all sandboxes.

This command lists all sandboxes using the Docker API.

オプション

オプションデフォルト内容説明
--no-truncDon't truncate output
-q, --quietOnly display sandbox IDs

利用例

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