Skip to content

Conversation

@samruddhikhandale
Copy link
Member

It allows to tag the same image more than once.

eg - devcontainer build --workspace-folder ./ --image-name alpine3 --image-name alpine3.0

This is mainly needed for multiple tagging of multi-arch images created with --platform.
If the cli creates a multi arch image, and if you retag with docker tag then the new image ends up using architecture of the current machine for tagging.

Hence, such multi-arch images needs to be tagged during image build else they won't support multi-architecture platform.

@Chuxel
Copy link
Member

Chuxel commented Jun 24, 2022

Love this idea! Super useful given how you have to use tags for versioning. 👍

@chrmarti chrmarti merged commit 6d18acf into main Jul 6, 2022
@chrmarti chrmarti deleted the samruddhikhandale/modify-image-name branch July 6, 2022 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants