Such a command should search the registry for image tags. The command should allow to filter the tags using wildcards.
e.g.
docker search-tags debian:8*
# would list: debian:8.2 and debian:8, indicate they are the same image and list aliases (jessie, latest)
docker search-tags debian
# would list all tags of debian