ibm bluemix - IBM Containers: cf ic cpi ( copy command ) fails -


new ibm containers, working through ibm docs, page;

https://www.ng.bluemix.net/docs/containers/container_images_adding_ov.html#container_images_copying

states: copy image docker hub, bluemix, or private repository. can add copied image private repository, without downloading computer first, running cpi command.

with example:

cf ic cpi training/sinatra registry.ng.bluemix.net/my_namespace/my_sinatra:new 

i running on mac, inside docker command window,

docker images   repository    tag       image id        created             virtual size timdet/docker-whale   latest    a5bb741c4ac2        22 hours ago        274.3 mb hello-world           latest    0a6ba66e537a        3 months ago        960 b 

gives me images both local & on private dockerhub { timdet} and

cf ic images  repository                           tag    image id    created  virtual size registry.eu-gb.bluemix.net/ibmnode   latest  0482321da78d 6 days ago    433.1 mb registry.eu-gb.bluemix.net/ibmnode   v4      0482321da78d 6 days ago   433.1 mb 

gives images in ibm repository.

from understand command should copy image local / dockerhub ibm repository. { have cf login & cf ic login ok }

when run;

cf ic cpi timdet/docker-whale registry.eu-gb.bluemix.net/ic_tim_donovan_org/docker-whale:new 

i following output;

sending build context docker daemon 2.048 kb step 0 : timdet/docker-whale pulling repository timdet/docker-whale error: image timdet/docker-whale:latest not found failed 

yet can see via docker image , docker pull ok. missing?

the other item dockerhub image has private flag on.

well seems have managed find out answer own question.

created original dockerhub repository private repository .. seems allowed create 1 private repository. downside keeping development , testing private cannot shared likes of ibm containers.
have since created public dockerhub repository, , able use copy command copy image dockerhub ibm private repository within bluemix containers.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -