Applying multiple tags to an image Reference You can apply the latest tag to a newly built image and add another tag that references a specific version. For example, to tag an image both as whenry/fedora-jboss:latest and whenry/fedora-jboss:v2.1, use the following: docker build -t whenry …
Applying multiple tags to an image
You can apply the latest tag to a newly built image and add another tag that references a specific version.
For example, to tag an image both as whenry/fedora-jboss:latest
and
whenry/fedora-jboss:v2.1
, use the following:
docker build -t whenry/fedora-jboss:latest -t whenry/fedora-jboss:v2.1 .
Comments