Share feedback
Answers are generated based on the documentation.

docker sandbox stop

内容説明Stop one or more sandboxes without removing them
利用方法docker sandbox stop SANDBOX [SANDBOX...]

内容説明

警告

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.

Stop one or more sandboxes without removing them. The sandboxes can be restarted later.

利用例

Stop a sandbox

$ docker sandbox stop my-sandbox
my-sandbox

Stop multiple sandboxes

$ docker sandbox stop sandbox1 sandbox2
sandbox1
sandbox2

Stop all running sandboxes

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