In Docker is there a way to maintain (updateable and trackable) "aliases" for images?
Solution 1:
Create a Dockerfile with just a FROM
directive pointing at the image you want to use. Track it with git. Always build it to the same tag. Use that tag everywhere.
- You have the same image tag used everywhere
- Updates are made in the Dockerfile
- Changes are tracked by git
Alternatively, use a shell script that docker tag
s what's necessary. You can even trigger it from a git hook.