Closed knownasilya closed 8 years ago
I've noticed this as well and spent an evening trying to reduce it to an iojs test case. At first I thought it was iojs failing to use the provided CA to validate the certificate, or with the CA being self-signed, but there are actually test cases for those in the iojs test suite.
It might be useful to track here for a workaround, but I'm pretty sure the "bug" is either in iojs verifying the certs or in boot2docker generating the certs - though I admit I haven't been able to find anything conclusive.
Either way there's not much we can do in dockerode to fix this :) PS: and it seems related with boot2docker use cases.
I haven't noticed this being a problem for me lately. I'm not sure which change resolved it, but the following has changed since my previous comment:
@rmg how do you do number 3? Any guides?
@knownasilya I found the guides on docs.docker.com made it seem more complicated than it really was..
Here's a quick little equivalence table that shows basic boot2docker
commands and their equivalent using docker-machine
(operating on a VM named boot2docker
):
boot2docker | docker-machine |
---|---|
boot2docker init |
docker-machine create -d virtualbox boot2docker |
eval $(boot2docker shellinit) |
eval $(docker-machine env boot2docker) |
boot2docker ip |
docker-machine ip boot2docker |
The docs are here: http://docs.docker.com/machine/
I installed it the same way I installed docker, homebrew: brew install docker-machine
Big thanks @rmg.
@knownasilya did switching to docker-machine
solve it for you? If so, do you want to close this issue?
@rmg I've yet to give it a try. I'll do that next week.
I will close this one, since nodejs and iojs are now merged and everything is working well on node v4.x.
Cannot verify first certificate. Not sure what the issue is.