描述
列出映像
用法
docker image ls [OPTIONS] [REPOSITORY[:TAG]]
选项
| 名字,速记 | 默认 | 描述 |
--all , -a | Show all images (default hides intermediate images) -----显示所有映像(默认隐藏中间映像) | |
--digests | Show digests -----显示摘要 | |
--filter , -f | Filter output based on conditions provided -----根据提供的条件过滤输出 | |
--format | Pretty-print images using a Go template -----使用Go模板的漂亮打印映像 | |
--no-trunc | Don’t truncate output -----不要截断输出 | |
--quiet , -q | Only show numeric IDs -----仅显示数字ID |
本文详细介绍Docker镜像管理命令的使用方法,包括如何显示所有镜像、显示摘要信息、根据条件过滤输出、使用Go模板美化打印、避免输出截断及仅显示数字ID等高级操作技巧。
3556

被折叠的 条评论
为什么被折叠?



