containers - Bluemix: local Docker daemon is not reachable to authenticate it -
i having same problem, described in thread. unfortunately, provided answer in thread not solve issue.
cf login works fine
cf ic login fails:
$ sudo cf ic login password: client certificates being retrieved ibm containers... client certificates being stored in /users/xx/.ice/certs/... client certificates being stored in /users/xx/.ice/certs/containers-api.eu-gb.bluemix.net/bd67571... ok client certificates retrieved. deleting old configuration file... checking local docker configuration... system authenticated ibm containers api, local docker daemon not reachable authenticate ibm containers registry. can still run ibm containers on cloud not able push or pull images. can choose 2 ways use docker cli ibm containers: option 1: option allows use "cf ic" managing containers on ibm containers while still using docker cli directly manage local docker host. use cloud foundry ibm containers plug-in without affecting local docker environment: example usage: cf ic ps cf ic images option 2: use docker cli directly. in shell, override local docker environment connect ibm containers setting these variables. copy , paste following commands: note: docker commands followed (docker) supported option. export docker_host=tcp://containers-api.eu-gb.bluemix.net:8443 export docker_cert_path=/users/xx/.ice/certs/containers-api.eu-gb.bluemix.net/bd675... export docker_tls_verify=1
i tried suggestion in mentioned thread , ran eval "$(docker-machine env default)". result, command 'docker images' , 'docker ps executing fine.
then, if run
cf login cf ic login
i error above when executing cf ic login. tried option 2 error message suggested, doesn't either.
i able recreate error seeing when run cf login
, cf ic login
sudo in mac. if run without sudo
cf ic login
works fine.
run commands without sudo
:
$ cf login $ cf ic login client certificates being retrieved ibm containers... client certificates being stored in /users/adasilva/.ice/certs/... client certificates being stored in /users/adasilva/.ice/certs/containers-api.ng.bluemix.net/ef4c3396-1d7a-4843-8d05-fd255b6899d2... ok client certificates retrieved. deleting old configuration file... checking local docker configuration... ok authenticating registry @ host name registry.ng.bluemix.net ok container authenticated ibm containers registry. private bluemix repository url: registry.ng.bluemix.net/adasilva can choose 2 ways use docker cli ibm containers: option 1: option allows use "cf ic" managing containers on ibm containers while still using docker cli directly manage local docker host. use cloud foundry ibm containers plug-in without affecting local docker environment: example usage: cf ic ps cf ic images option 2: use docker cli directly. in shell, override local docker environment connect ibm containers setting these variables. copy , paste following commands: note: docker commands followed (docker) supported option. export docker_host=tcp://containers-api.ng.bluemix.net:8443 export docker_cert_path=/users/adasilva/.ice/certs/containers-api.ng.bluemix.net/ef4c3396-1d7a-4843-8d05-fd255b6899d2 export docker_tls_verify=1 example usage: docker ps docker images
Comments
Post a Comment