FahamLah

Commands

docker tag

docker tag <source> <name:tag>

Risk: Safe

What it does

Gives an image another name. Nothing is copied.

When to use it

Before pushing, or to mark a version.

Example

$ docker tag diary:1.0 you/diary:1.0

Add your Docker Hub name in front.