Hi, I want to tag existing image in my repository to have stable
tag (so when I build and push new images, I would still be able to download and use last version of which I know that works).
I have this images:
[garret@jsedlak_ntb ~]$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
docker.io/fedoraqa/openqa_webui latest 8b161b6a3b8c 10 days ago 770.4 MB
docker.io/fedoraqa/openqa_worker latest f8ac962ec807 10 days ago 1.043 GB
docker.io/fedoraqa/openqa_data latest 9088dfa73aa5 4 weeks ago 445 MB
I tag them with:
[garret@jsedlak_ntb ~]$ docker tag fedoraqa/openqa_webui fedoraqa/openqa_webui:stable
[garret@jsedlak_ntb ~]$ docker tag fedoraqa/openqa_worker fedoraqa/openqa_worker:stable
[garret@jsedlak_ntb ~]$ docker tag fedoraqa/openqa_data fedoraqa/openqa_data:stable
so now I have:
[garret@jsedlak_ntb ~]$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
fedoraqa/openqa_webui stable 8b161b6a3b8c 10 days ago 770.4 MB
docker.io/fedoraqa/openqa_webui latest 8b161b6a3b8c 10 days ago 770.4 MB
docker.io/fedoraqa/openqa_worker latest f8ac962ec807 10 days ago 1.043 GB
fedoraqa/openqa_worker stable f8ac962ec807 10 days ago 1.043 GB
fedoraqa/openqa_data stable 9088dfa73aa5 4 weeks ago 445 MB
docker.io/fedoraqa/openqa_data latest 9088dfa73aa5 4 weeks ago 445 MB
But when I want to push it, it shows:
[garret@jsedlak_ntb ~]$ docker push fedoraqa/openqa_webui:stable
Do you really want to push to public registry? [Y/n]: Y
The push refers to a repository [docker.io/fedoraqa/openqa_webui] (len: 1)
FATA[0002] Error pushing to registry: Tag does not exist: stable
I have been looking into it and I still can’t figure out what am I doing wrong. I am running Fedora 22 and I have this version of docker:
[garret@jsedlak_ntb ~]$ docker version
Client version: 1.6.0
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 9d26a07/1.6.0
OS/Arch (client): linux/amd64
Server version: 1.6.0
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 9d26a07/1.6.0
OS/Arch (server): linux/amd64