Subscribed unsubscribe Subscribe Subscribe

hasen's tech life

Twitter: @hasen

Dockerで'Could not read CA certificate'というエラーが出たので,対応した.

# Dockerで'Could not read CA certificate'というエラーが出たので,対応した.
# boot2dokcerをmac用のツールと入れ替えている時に発生した.

$ docker ps
> Could not read CA certificate "/PATH/TO/.boot2docker/certs/boot2docker-vm/ca.pem": open /PATH/TO/.boot2docker/certs/boot2docker-vm/ca.pem: no such file or directory
$ unset ${!DOCKER*}
>
$ docker ps
> CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

# 参考: Initial install of Docker for Mac - Could not read CA certificate