This fix is part of the effort to convert commands to spf13/cobra #23211. Thif fix coverted command `docker history` to use spf13/cobra Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Upstream-commit: a76d387cdaa0b44d7d2b7550c2eb4c0fc53e7a47 Component: engine