docker sandbox stop
| Description | Stop one or more sandboxes without removing them |
|---|---|
| Usage | docker sandbox stop SANDBOX [SANDBOX...] |
Description
WarningThe Docker Desktop-integrated
docker sandboxcommands are deprecated and replaced by the standalonesbxCLI. 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.
Examples
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)