I have a question Regarding Docker Tags,
I am pushing docker image to docker hub without assigning tag, and it is getting stored in docker hub repo with latest tag which is expected behavior, but when I am doing the same thing again, rather than overwriting it, it is getting pushed with Tag 1.0, leaving two images on Docker Hub Repo one with Latest Tag and another with 1.0 tag.
Q1 Is above scenario expected or there is something wrong in my doing, if somebody can explain and please route me through detailed link.
Q2. When I pull image from docker hub repo and I am not using tag in command for example - docker pull “RepoName/imagename”. It is always downloading images with latest tag, not the actual latest image which has 1.0 tag, so my question is, how do I always pull actual latest image which is updated recently by default without actually assigning tag name/no.