Take the existing image id <1cc5fb94e64b> and tag i
docker tag <IMAGE ID> <Hub User Name>/<IMAGE NAME>:TAG
docker tag 1cc5fb94e64b certifiedcloudexpert/new:ver1
where:
<1cc5fb94e64b> will be the IMAGE ID
<certifiedcloudexpert> will be the Hub User Name
<new> will be the IMAGE NAME (The IMAGE NAME you created)
<ver1> will be the TAG (The TAG you created)
PS:
It's best common practice to tag your HUB USERNAME followed
by your IMAGE NAME otherwise when you push your image to
Docker Hub you may get a permission denied error message.