2016-07-05 108 views
1

試圖推我多克爾容器到Bluemix用命令:「未經授權:未經授權」消息,當推泊塢窗容器Bluemix

sudo docker push registry.ng.bluemix.net/< my username>/testproj:latest 

...但它保持這種狀態:

41e402a30e3e: Preparing 
31ea3086ff95: Preparing 
7128d7a803a9: Preparing 
03b6a8ac8cb2: Preparing 
3e76a9f5c51e: Preparing 
c747e356ef2e: Waiting 
5f2f91b41de9: Waiting 
ec0200a19d76: Waiting 
338cb8e0e9ed: Waiting 
d1c800db26c7: Waiting 
42755cf4ee95: Waiting 
unauthorized: Unauthorized 

所以容器不會推送到Bluemix。我該如何解決這個問題?

+0

你見過? https://developer.ibm.com/answers/questions/237544/can-not-publish-my-container-to-bluemix.html – joe

+0

同樣的問題,在這種情況下,問題原來是一個額外的正向斜線回購名稱。請參閱https://developer.ibm.com/answers/questions/273695/error-while-executing-docker-push-command-access-t.html –

回答

0

除了拉胡爾的回答,請確保您運行登錄作爲您的docker push命令相同的用戶。因此,如果您需要使用sudo運行docker push,請確保使用sudo執行cf logincf ic login

相關問題