Cannot provision a Katello Managed docker container
When using the docker container UI the tag information is not being set correctly.
0) Setup docker compute resource + Sync docker images
1) Containers -> Create Container
2) Select lifecycle environment, CV, repository, Tag, Smart Proxy
3) Click next step
Note the tag info while getting propagated in the Put request does not get stored in the database making it always choose the latest.
This is a side effect of https://github.com/Katello/katello/pull/6775 as part of Issue http://projects.theforeman.org/issues/19468
Fixes #21050 - Container Create uses correct Tag
This commit includes fixes related to container creation and tag
selection. The container repository name was not being used to provision
the container image and instead the repo name was being used which
implies that containers were never able to provision in the first place.
More over this fix make the container create use DockerMetaTag instead
of DockerTag. This fixes the issue where the wrong tag would get applied
to the repository.