运行 podman images --help 命令:
C:\Users\Administrator> podman images --help
列出本地存储中的镜像
描述:
列出之前拉取到系统或在系统上创建的镜像。
用法:
podman images [选项] [镜像]
示例:
podman images --format json
podman images --sort repository --format "table {{.ID}} {{.Repository}} {{.Tag}}"
podman images --filter dangling=true
选项:
-a, --all 显示所有镜像(默认隐藏中间镜像)
--digests 显示摘要
-f, --filter 字符串数组 根据提供的条件过滤输出(默认 [])
--format 字符串 将输出格式更改为 JSON 或 Go 模板
--history 显示镜像名称历史
--no-trunc 不截断输出
-n, --noheading 不打印列标题
-q, --quiet 仅显示镜像 ID
--sort 选项 按创建时间、ID、仓库、大小、标签排序(默认按创建时间)