mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
63 lines
1.4 KiB
YAML
Generated
63 lines
1.4 KiB
YAML
Generated
command: docker sandbox rm
|
|
aliases: docker sandbox rm, docker sandbox remove
|
|
short: Remove one or more sandboxes
|
|
long: |-
|
|
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
|
|
usage: docker sandbox rm SANDBOX [SANDBOX...]
|
|
pname: docker sandbox
|
|
plink: docker_sandbox.yaml
|
|
inherited_options:
|
|
- option: debug
|
|
shorthand: D
|
|
value_type: bool
|
|
default_value: "false"
|
|
description: Enable debug logging
|
|
deprecated: false
|
|
hidden: false
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
- option: socket
|
|
value_type: string
|
|
description: |
|
|
Connect to daemon at specific socket path (for development/debugging)
|
|
deprecated: false
|
|
hidden: true
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
examples: |-
|
|
### Remove a sandbox
|
|
|
|
```console
|
|
$ docker sandbox rm abc123def
|
|
abc123def
|
|
```
|
|
|
|
### Remove multiple sandboxes
|
|
|
|
```console
|
|
$ docker sandbox rm abc123def def456ghi
|
|
abc123def
|
|
def456ghi
|
|
```
|
|
|
|
### Remove all sandboxes
|
|
|
|
```console
|
|
$ docker sandbox rm $(docker sandbox ls -q)
|
|
```
|
|
deprecated: false
|
|
hidden: false
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
|