鍍金池/ 問答/Linux/ docker push 鏡像 An image does not exist l

docker push 鏡像 An image does not exist locally with the tag

構(gòu)建鏡像推送到docker倉庫,顯示本地鏡像不存在,直接上圖;

圖片描述

回答
編輯回答
六扇門

build的時候這樣:
docker build -t gbruin/bruin-nginx:test .
然后用:
docker push gbruin/bruin-nginx:test

試一試看能否成功

2017年6月18日 23:51
編輯回答
薄荷糖

我也遇到了同樣的錯誤,我同樣找不解決方法,
但是,現(xiàn)在我找到了解決辦法
docker pull hello-world
docker tag hello-world 192.168.28.202:5000/hello-world
docker push 192.168.28.202:5000/hello-world
推送成功
clipboard.png

2017年10月25日 15:47