Get the history of commands that created a docker image

Note to self: In order to see which commands (latest on top) were used to create a docker image run:

docker history --no-trunc --format 'RUN {{.CreatedBy}}' <image>