2
我試圖將圖像從Dockerhub複製按照在https://new-console.eu-gb.bluemix.net/docs/containers/container_images_copying.htmlCF-CLI不停地問我,即使我做了這麼
我安裝了CF-CLI和IBM-的文檔,以Bluemix註冊登錄在我的Mac(OSX 10.11.6)集裝箱插件:
$ cf --version
cf version 6.21.0+dff2cf8-2016-07-27
$ cf plugins
Listing Installed Plugins...
OK
Plugin Name Version Command Name Command Help
IBM-Containers 0.8.897 ic IBM Containers plug-in
我登錄到我的帳戶:
$ cf login -a api.eu-gb.bluemix.net
API endpoint: api.eu-gb.bluemix.net
Email> [email protected]
Password>
Authenticating...
OK
Targeted org Haxe Foundation
Targeted space dev
API endpoint: https://api.eu-gb.bluemix.net (API version: 2.54.0)
User: [email protected]
Org: Haxe Foundation
Space: dev
$ cf ic login -a api.eu-gb.bluemix.net
$ cf ic info
Date/Time : 2016-08-22 08:43:39.352117576 +0800 HKT
Debug Mode : false
Host/URL : https://containers-api.eu-gb.bluemix.net
Registry Host : registry.eu-gb.bluemix.net
Bluemix API Host/URL : https://api.eu-gb.bluemix.net
Bluemix Org : Haxe Foundation(4a6547eb-37ae-4f41-9e7e-dcba87c99147)
Bluemix Space : dev(45d9dba9-068b-4918-82ff-1c2210a03dbc)
CLI Version : 0.8.897
然而,當我嘗試複製的圖像,或列出現有的圖像,出現錯誤:
$ cf ic cpi gitlab/gitlab-ce:8.10.7-ce.0 registry.eu-gb.bluemix.net/gitlab-ce:8.10.7-ce.0
FAILED
The IBM Containers CLI must be initialized. Run "cf ic init" to initialize it.
$ cf ic images
FAILED
The IBM Containers CLI must be initialized. Run "cf ic init" to initialize it.
有什麼想法嗎?
你可以標記爲已回答嗎? –
當然,但SO需要等待2天才能接受。 –