docker: how to show the diffs between 2 images

后端 未结 8 1045
走了就别回头了
走了就别回头了 2021-01-30 10:33

I have a Dockerfile with a sequence of RUN instructions that execute \"apt-get install\"s; for example, a couple of lines:

RUN apt-get install -y tree
RUN apt-ge         


        
8条回答
  •  天命终不由人
    2021-01-30 10:58

    Have a look at:

    https://github.com/moul/docker-diff

    They list Brew install instructions for Mac, I'm assuming it's a Bash script, so I assume it could be made to work in other *nix environments.

提交回复
热议问题