docker sandbox ls
| Description | List sandboxes |
|---|---|
| Usage | docker sandbox ls |
| Aliases | docker sandbox list |
Description
List all sandboxes.
This command lists all sandboxes using the Docker API.
Options
| Option | Default | Description |
|---|---|---|
--no-trunc | Don't truncate output | |
-q, --quiet | Only 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)
--quietOutput only sandbox IDs:
$ docker sandbox ls --quiet
abc123def
def456ghi
Don't truncate output (--no-trunc)
--no-truncBy 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