<table class="text">
<tr class="li1"><td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9 docker history --no-trunc $argv | tac | tr -s ' ' | cut -d " " -f 5- | sed 's,^/bin/sh -c #(nop),g' | sed 's,^/bin/sh -c,RUN,&&,\n &,\s*[0-9]*[\.]*[0-9]*[kMG]*B\s*$,g' | head -n -1 原文链接:https://www.f2er.com/docker/413195.html