Docker image name

Viewed 32

How to create a image/tag name for the existing image? I have following images currently:

enter image description here

I would like to create repository name and tag name of the existing image.

3 Answers

I have used following command to create repository and tag name:

docker tag cdcbb3706c83 aspcore:dev

enter image description here

Thanks.

ITNOA

As you can see in docker tag manual you can use

docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]

example

 docker tag 0e5574283393 fedora/httpd:version1.0
Related