Docker tag Command
docker tag : Tag local images to a repository.
Docker tag Syntax
docker tag [OPTIONS] IMAGE[:TAG] [REGISTRYHOST/][USERNAME/]NAME[:TAG]
Docker tag Example
Mark the image ubuntu:15.10 as an apidemos/ubuntu:v3 image.
root@apidemos:~# docker tag ubuntu:15.10 apidemos/ubuntu:v3
root@apidemos:~# docker images apidemos/ubuntu:v3
REPOSITORY TAG IMAGE ID CREATED SIZE
apidemos/ubuntu v3 4e3b13c8a266 3 months ago 136.3 MB