-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Machines Docker Rmi
Removes an image. Also answers to remove-image.
ed machines docker rmi [--json] [--force] <machine> <image>
| Name | Type / values | Default | What it does |
|---|---|---|---|
<machine> |
machine name, ssh alias, id, or any unambiguous prefix | required | Which machine to act on. |
<image> |
image name, repository:tag, or an id from ed machines docker images
|
required | Which image to remove. |
| Name | Type / values | Default | What it does |
|---|---|---|---|
--json |
flag | off | Emit JSON on stdout instead of the one-line confirmation. |
--force |
flag | off | Remove it even when a container still refers to it. Adds -f to the docker command. |
--help, -h
|
flag | off | Print the help for this command on stdout and exit 0. |
Human output is one line, removed image <image>.
{
"forced": false,
"image": "postgres:16",
"machine": "Asus TUF 7"
}forced records whether you passed --force, not whether force was needed.
image is echoed back as you typed it.
ed machines tuf docker rmi postgres:16
ed machines tuf docker rmi de3a4eab8fdf --force
ed machines tuf docker remove-image postgres:16 --json
Runs docker image rm [-f] <image> under a 120 second ceiling. There is no
--yes on this verb, which is deliberate: an image is re-pullable, unlike a
volume.
Without --force, docker refuses to remove an image a container still refers
to, even a stopped one, and that refusal becomes exit 1 with docker's message as
the hint. With --force docker untags it and removes it when nothing else holds
the layers. Removing an image that several tags point at removes only the tag
you named unless you pass an id.
This is the Docker window's image delete button, which always runs the unforced form.
-
ed machines docker, the rest of this group - All
edcommands
Auto-generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Companion
- Deploy
- Concepts
- Concepts Memory
- Concepts Ingestion
- Concepts Search
- Concepts Chat
- Concepts Learning
- Concepts Brain
- Concepts Friend
- Hosts
- Stack
- Status
- Doctor
- Search
- Index
- Ingest
- Episodes
- Sync
- Observations
- Reflect
- Beliefs
- Ask
- Extract
- Claims
- Corroborate
- Runs
- Chat
- Conversations
- Forget
- Export
- Import
- Erase
- Wipe
- Episode
- Nightly
- Reason
- Personas
- Council
- Lenses
- Core
- Why
- Hypotheses
- Predictions
- Commitments
- Discrepancies
- Calibration
- Inquire
- Entities
- Eval
- Standup
- Machines
- Baselines
- Connectors
- Facts
- Correct
- Weekly
- Db
Guides