Command to extract the real tag from "latest"

Hi,
I’m searching a command to understand which tag is linked by latest in the local environment.
I don’t find a command to extract this information from the command line.

I want to be sure that I’m using the right version, but I can’t execute docker pull before the check.
Thank you very much for your help
Angelo Mantellini