# Docker images and version control

**URL:** <https://forums.docker.com/t/docker-images-and-version-control/20086>\
**Category:** General\
**Tags:** docker, insecure-registry\
**Created:** [August 10, 2016, 6:56am UTC](https://forums.docker.com/t/docker-images-and-version-control/20086 "2016-08-10T06:56:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kosie99](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@kosie99](https://forums.docker.com/u/kosie99)\
**Post date:** [August 10, 2016, 6:56am UTC](https://forums.docker.com/t/docker-images-and-version-control/20086/1 "2016-08-10T06:56:26Z")

</div>

Hi, I am very new to Docker, so please forgive me this very basic question:

I have set up a private registry and pushing/pulling works great. I see that the default tag of an image that is pushed, is always “latest”. If I now make changes to the image and push that up as well, it will overwrite the existing “latest” image (if I am not mistaken).

How do I push images to the registry, making sure that only the truly latest image is tagged as “latest”? Or do I never use “latest”, but rather always tag images with a version number e.g “1.0”, “1.1”, etc.?

Thanks!

---

<div class="post-metadata">

**Author:** ![nathanleclaire](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@nathanleclaire](https://forums.docker.com/u/nathanleclaire)\
**Post date:** [August 10, 2016, 10:25pm UTC](https://forums.docker.com/t/docker-images-and-version-control/20086/2 "2016-08-10T22:25:02Z")

</div>

Generally, never use `latest` except for quick messing around. Just tag the images based on some unique identifier.
