发表评论
该命令用于显示镜像的历史,查看镜像的历史变化。
docker history [OPTIONS] IMAGE
查看 ubuntu:latest 镜像的历史
docker history ubuntu:latest
$ docker history --help Usage: docker history [OPTIONS] IMAGE Show the history of an image Options: --format string Pretty-print images using a Go template -H, --human Print sizes and dates in human readable format (default true) --no-trunc Don't truncate output -q, --quiet Only show numeric IDs