You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): image-management Docker parity (inspect array, rmi by short-id/--force, commit --change, tag validation)
Found via the runtime/CLI parity probe (round 2):
- image-inspect now prints a top-level JSON array (like docker image inspect), so `inspect X | jq '.[0]'` works.
- rmi resolves a bare lowercase-hex image id (Docker 12-hex short id), not only sha256:-prefixed refs; digest_matches prefix-matches the stored hex. With multiple tags sharing a digest, rmi errors 'ambiguous' (correct) and `rmi -f <id>` now removes ALL matching references instead of erroring.
- commit --change CMD/ENTRYPOINT honor exec form (["a","b"]) and ENV/LABEL accept the legacy space-separated form, by reusing import.rs's parsers (previously commit wrapped exec arrays in sh -c => exit 127, and dropped space-form ENV).
- tag rejects an uppercase repository name ('repository name must be lowercase'), like Docker, instead of silently creating a bad tag.
All verified on Linux.
0 commit comments