I downloaded Docker for Mac this afternoon, de-installed dinghy (via brew) and ancillary software.
I installed Docker for Mac and then typed in Terminal:
docker version
I get the following message about a missing certificate:
Could not read CA certificate “/Users/randolph.kahle/.boot2docker/certs/boot2docker-vm/ca.pem”: open /Users/randolph.kahle/.boot2docker/certs/boot2docker-vm/ca.pem: no such file or directory
Usually most people have install boot2docker and old version of virtualbox. As said in installation guide, before installing Docker for Mac, we have to uninstall boot2docker and reinstall virtualbox to high version. https://docs.docker.com/engine/installation/mac/#/docker-for-mac
Even though we have installed Docker for Mac, we still encountered error “Could not read CA certificate”.
My solution is to remove the docker related environment variables (DOCKER*) from .bash_profile.
vim ~/.bash_profile
Comment something like DOCKER_*
source ~/.bash_profile
relaunch the terminal, you should have no problem on running : docker info or docker ps