"certificate verification failed" when connecting docker to IBM Container Cloud

I have a local Ubuntu 14.04 with a cloud-based CLI, docker, and the IBM Containers plugin installed in the cloud-based CLI.

I moved all the local docker images to the IBM repository.

I ran

cf login -a https://api.ng.bluemix.net cf ic login

Then I switch to the cloud of remote dockers, exporting os env variables as the output of "cf ic login" by calling the following commands

export DOCKER_HOST = tcp: //containers-api.ng.bluemix.net: 8443

export DOCKER_CERT_PATH = / root / .ice / certs

export DOCKER_TLS_VERIFY = 1

I ran

docker ps

and I see instances running on Cloud Cloud, so I'm sure these settings are correct.

Now i run

docker-compose up

,

SL: SSL: CERTIFICATE_VERIFY_FAILED] (_ssl.c: 581)

export DOCKER_TLS_VERIFY = 0

.

?

+4
1

Docker Compose IBM Containers, Compose .

+3

Source: https://habr.com/ru/post/1608377/


All Articles