docker sandbox rm
| 内容説明 | Remove one or more sandboxes |
|---|---|
| 利用方法 | docker sandbox rm SANDBOX [SANDBOX...] |
| エイリアス | docker sandbox remove |
内容説明
警告The 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.
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)