Remote API | /reset to restart the container using the image tag

Request:

Allow you to call /restart pass in a value like imageName and have the current running containers with the matching value restarted, but using whatever image has that tag. This change would support the upgrade process in which you import in a new image and you want the system to restart using it instead of the old base image.

example:

Start off with /images

Name tag image ID
foo/bar latest xxxxyyxyxyxy
foo/bar V4 xxxxyyxyxyxy
foo/bar V3 hhhhhgggggsgs

I then import in an image tagged as V5

here is /images

Name Tag Image ID
foo/bar V5 aaaabababab
foo/bar latest xxxxyyxyxyxy
foo/bar V4 xxxxyyxyxyxy
foo/bar V3 hhhhhgggggsgs

If I look at my running containers I see
Container ID Image Command
8297et287g Foo/bar:latest

I then set the tag latest to the newest version of the image aaaabababab which is also tagged to V5

What I want is the ability to call reset and have the image aaaabababab, tagged as latest started instead of the prior xxxxxyxyxyxy (which did have the image tag :latest) and rather then have to take the container id which is based on no older V4 Image.

I like the idea - and I think you should probably make a Proposal in the GitHub repo - https://github.com/docker/docker