A tag like latest on your machine is only as new as your last pull. If you want docker run to check the registry first, there is a flag for that, and I forget it exists more often than I would like to admit.
docker run has a --pull option with three values. missing is the default and pulls only when the image is not in the local cache. never never pulls and fails if the image is not there. always pulls before creating the container.
docker run --rm --pull always example/app:latest
That is handy for one-off tools you run from time to time, where you want the current version every time without a separate docker pull. It also makes a script fail loudly when the registry is unreachable.
never is the opposite, and it helps on a machine with no internet or when you built an image locally and do not want Docker to look for a different one with the same name.
docker run --rm --pull never my-local-build
always only refreshes the image. A container that is already running keeps using the old one until you remove it and run it again. And pulling a moving tag is how a working setup changes under you, so for anything that matters I combine always with a pinned version tag and update the tag on purpose.
Further reading: docker run reference: pull