The tool lazydocker also will construct a pseudo dockerfile from the history. It's good enough that most of the time you can just copy it and get a working dockerfile out of it.
It's also super awesome in general.
It's also super awesome in general.
GitHub Repo: https://github.com/jesseduffield/lazydocker
It’s a great tool! Docker for Desktop is now shipping with a lot of the same features built into its GUI, too.