Share feedback
Answers are generated based on the documentation.

docker sandbox rm

内容説明Remove one or more sandboxes
利用方法docker sandbox rm SANDBOX [SANDBOX...]
エイリアス
docker sandbox remove

内容説明

警告

The Docker Desktop-integrated docker sandbox commands are deprecated and replaced by the standalone sbx CLI. This deprecation applies only to the Docker Desktop integration, not to Docker Sandboxes.

Remove one or more sandboxes and all their associated resources.

This command will:

  • Check if the sandbox exists
  • Remove the sandbox and clean up its associated resources

利用例

Remove a sandbox

$ docker sandbox rm abc123def
abc123def

Remove multiple sandboxes

$ docker sandbox rm abc123def def456ghi
abc123def
def456ghi

Remove all sandboxes

$ docker sandbox rm $(docker sandbox ls -q)