How to push docker to private registry
by burgas from LinuxQuestions.org on (#5T6NP)
I have running private registry
Code:sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1707fb042a43 registry:2 "/entrypoint.sh /etc..." 4 days ago Up 2 hours 0.0.0.0:5000->5000/tcp, :::5000->5000/tcp registryI have image need to push to my private registry
Code:sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
coinbase latest 7bfb7cc3d51c 11 months ago 781MBWhen I try to push my image to my private registry
Code:sudo docker push localhost:5000/coinbase:latestdocker answer me:
Code:The push refers to repository [localhost:5000/coinbase]
An image does not exist locally with the tag: localhost:5000/coinbaseWhat wrong?
Code:sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1707fb042a43 registry:2 "/entrypoint.sh /etc..." 4 days ago Up 2 hours 0.0.0.0:5000->5000/tcp, :::5000->5000/tcp registryI have image need to push to my private registry
Code:sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
coinbase latest 7bfb7cc3d51c 11 months ago 781MBWhen I try to push my image to my private registry
Code:sudo docker push localhost:5000/coinbase:latestdocker answer me:
Code:The push refers to repository [localhost:5000/coinbase]
An image does not exist locally with the tag: localhost:5000/coinbaseWhat wrong?