content/manuals/docker-hub/repos/manage/hub-images/immutable-tags.md
{{< summary-bar feature_name="Immutable tags" >}}
Immutable tags provide a way to ensure that specific image versions remain unchanged once they are published to Docker Hub. This feature helps maintain consistency and reliability in your container deployments by preventing accidental overwrites of important image versions.
Immutable tags are image tags that, once pushed to Docker Hub, cannot be overwritten or deleted. This ensures that a specific version of an image remains exactly the same throughout its lifecycle, providing:
To enable immutable tags for your repository:
latest tag.Once enabled, all tags are locked to their specific images, ensuring that each tag always points to the same image version and cannot be modified.
[!NOTE] This implementation of regular expressions follows the Go regexp package, which is based on the RE2 engine. For more information, visit RE2 Regular Expression Syntax.
When immutable tags are enabled:
To push an image, create a new tag for your updated image and push it to the repository.