You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to how -f can be used to squash the last n layers, it would be useful to have an argument (such as -p) to preserve the first n layers instead.
For now, this can be done manually with getting the layer count via docker history image:tag | wc -l and then subtracting the number of layers you want to preserve.
The text was updated successfully, but these errors were encountered:
Similar to how
-f
can be used to squash the last n layers, it would be useful to have an argument (such as-p
) to preserve the first n layers instead.For now, this can be done manually with getting the layer count via
docker history image:tag | wc -l
and then subtracting the number of layers you want to preserve.The text was updated successfully, but these errors were encountered: