云游屋
扫描关注云游屋

云游屋

docker history 命令

云游屋2021-09-06Docker命令 771

该命令用于显示镜像的历史,查看镜像的历史变化。

语法

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


发表评论