I know we can add registry name before image name. like docker pull my_registry/myimage:latest
. But by default it looks in docker hub. Is there anyway to remove docker hub from default or add a prefix for pulling image so if I try docker pull redis
, it automatically runs docker pull myrepo/redis
?
I want to do it in openshift 4.7
As you see I want to look for redis
in my private registry without adding my_registry/redis
.
Thank you so much.