I am attempting to migrate from boot2docker to docker-machine.
I followed the directions here to install docker but I keep getting the following message:
Could not read CA certificate "/Users/<useraccountfolder>/.boot2docker/certs/boot2docker-vm/ca.pem": open /Users/<useraccountfolder>/.boot2docker/certs/boot2docker-vm/ca.pem: no such file or directory
when I run most any docker command.
Please follow this guide: Docker for Mac vs Docker Toolbox
Worked for me, you need to unset the variables instead of creating them for mac.
# grep for DOCKER ENV vars
env | grep DOCKER
unset <DOCKER_VARS>
If the file is present in
DOCKER_CERT_PATH
env variable, the error could also be caused due to file permissions issue. Please check this use-case as well.